aboutsummaryrefslogtreecommitdiff
path: root/internal/game/render_map.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-28 02:40:30 -0400
committerhistoria <[not public]>2026-06-28 02:40:30 -0400
commita1b6613c6c6a2f8d6e1ecd47e766bd40f92ac295 (patch)
tree4ff8fefb029c93f2aa3db7361658b0b4e9805b66 /internal/game/render_map.go
parent87dacfbb3dd16e7f55a82361eace98f9a39d75c8 (diff)
downloadthehouseoficarus-a1b6613c6c6a2f8d6e1ecd47e766bd40f92ac295.tar.gz
feat: admin accounts, god mode, OLC commands like dig/room, 'inline' objects changed to 'local' objects
Diffstat (limited to 'internal/game/render_map.go')
-rw-r--r--internal/game/render_map.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/render_map.go b/internal/game/render_map.go
index ff9ffa5..58e0613 100644
--- a/internal/game/render_map.go
+++ b/internal/game/render_map.go
@@ -407,7 +407,7 @@ func exitStateTo(g *Game, sess *net.Session, from int, dir world.ExitDir, neighb
if exit.Condition == nil || sess == nil || sess.Player == nil {
return exitOpen
}
- if g.checkCondition(sess, exit.Condition) {
+ if sess.Player.GodMode || g.checkCondition(sess, exit.Condition) {
return exitOpen
}
return exitBlocked