diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index badcb844cb..3ca3e3ddb9 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -2419,7 +2419,7 @@ CommandCost CmdDeleteTown(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 try_clear = true; } else { /* Tell to find a new town. */ - o->town = NULL; + if (flags & DC_EXEC) o->town = NULL; } } }