mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Merge pull request #1979 from nightroan/develop
As a multiplayer client, don't select the next track piece if is is unaffordable
This commit is contained in:
@@ -1583,6 +1583,8 @@ static void window_ride_construction_construct(rct_window *w)
|
||||
0
|
||||
);
|
||||
if (RCT2_GLOBAL(0x00F44074, money32) == MONEY32_UNDEFINED) {
|
||||
if (network_get_mode() == NETWORK_MODE_CLIENT)
|
||||
game_command_callback = 0; // don't do callback if we can't afford the track piece
|
||||
sub_6C84CE();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user