summaryrefslogtreecommitdiff
path: root/npc/functions/siege.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/siege.txt')
-rw-r--r--npc/functions/siege.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt
index 284e1fb8b..2c1718853 100644
--- a/npc/functions/siege.txt
+++ b/npc/functions/siege.txt
@@ -170,7 +170,8 @@ function script siege_setup {
function script siege_revert {
.@m$=getarg(0);
- // Revert map zone and delete backup
+ // Revert map zone (to town, or to blank) and delete backup
+ removemapflag(.@m$,mf_zone);
setmapflag(.@m$,mf_zone,$@MZONE$[getmapinfo(MAPINFO_ID, .@m$)]);
$@MZONE$[getmapinfo(MAPINFO_ID, .@m$)]="";