mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-30 02:05:13 +01:00
Fix #14296: Allow early scenario completion in multiplayer
This commit is contained in:
committed by
GitHub
parent
e89c37e7ae
commit
6f28914f61
@@ -13,6 +13,7 @@
|
||||
#include "../interface/Window.h"
|
||||
#include "../management/Finance.h"
|
||||
#include "../peep/Peep.h"
|
||||
#include "../scenario/Scenario.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/Park.h"
|
||||
|
||||
@@ -236,6 +237,9 @@ GameActions::Result::Ptr ScenarioSetSettingAction::Execute() const
|
||||
gParkFlags &= ~PARK_FLAGS_DIFFICULT_GUEST_GENERATION;
|
||||
}
|
||||
break;
|
||||
case ScenarioSetSetting::AllowEarlyCompletion:
|
||||
gAllowEarlyCompletionInNetworkPlay = _value;
|
||||
break;
|
||||
default:
|
||||
log_error("Invalid setting: %u", _setting);
|
||||
return MakeResult(GameActions::Status::InvalidParameters, STR_NONE);
|
||||
|
||||
Reference in New Issue
Block a user