summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/signs_cmd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/signs_cmd.cpp b/src/signs_cmd.cpp
index e094e9e0f..ea6c680c3 100644
--- a/src/signs_cmd.cpp
+++ b/src/signs_cmd.cpp
@@ -100,6 +100,7 @@ CommandCost CmdRenameSign(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32
}
} else { // Delete sign
if (flags & DC_EXEC) {
+ si->sign.MarkDirty();
_viewport_sign_kdtree.Remove(ViewportSignKdtreeItem::MakeSign(si->index));
delete si;