aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_undig.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_undig.go')
-rw-r--r--internal/game/cmd_undig.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/game/cmd_undig.go b/internal/game/cmd_undig.go
index 88dd661..0b42f5c 100644
--- a/internal/game/cmd_undig.go
+++ b/internal/game/cmd_undig.go
@@ -246,6 +246,7 @@ func (g *Game) performUndig(sess *net.Session, p *player.Player, targetID int) {
g.MobStore.RemoveMobsInRoom(targetID)
g.World.ClearRoomState(targetID)
+ g.clearGuardWatchRoom(targetID)
// Drop any cached in-room games and refund their outstanding wagers
// (same eviction semantics as the other room-removal paths).
g.EvictCasinoRoom(targetID)