1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 15:24:30 +01:00

Fix #24589: Ride's music tab doesn't redraw in multiplayer

Trigger an invalidation of the window when actually executing the
command.
This commit is contained in:
Michał Janiszewski
2025-06-18 23:36:00 +02:00
committed by GitHub
parent 4bbb5c4c61
commit cf72933aa5
2 changed files with 2 additions and 0 deletions

View File

@@ -215,6 +215,7 @@ GameActions::Result RideSetSettingAction::Execute() const
{
ride->lifecycleFlags |= RIDE_LIFECYCLE_MUSIC;
}
ride->windowInvalidateFlags |= RIDE_INVALIDATE_RIDE_MUSIC;
break;
case RideSetSetting::MusicType:
if (_value != ride->music)