mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 14:54:30 +01:00
Move tile invalidation to the action
This commit is contained in:
@@ -240,6 +240,7 @@ GameActions::Result TileModifyAction::QueryExecute(bool isExecuting) const
|
||||
|
||||
if (isExecuting)
|
||||
{
|
||||
MapInvalidateTileFull(_loc);
|
||||
auto intent = Intent(INTENT_ACTION_TILE_MODIFY);
|
||||
// TODO: add location data to intent.
|
||||
ContextBroadcastIntent(&intent);
|
||||
|
||||
Reference in New Issue
Block a user