mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Pass game state ref as parameter to game actions (#25065)
This commit is contained in:
@@ -83,7 +83,7 @@ template<class GA, class... Args>
|
||||
static void execute(Args&&... args)
|
||||
{
|
||||
GA ga(std::forward<Args>(args)...);
|
||||
GameActions::Execute(&ga);
|
||||
GameActions::Execute(&ga, getGameState());
|
||||
}
|
||||
|
||||
TEST_F(PlayTests, SecondGuestInQueueShouldNotRideIfNoFunds)
|
||||
|
||||
Reference in New Issue
Block a user