From a1b6613c6c6a2f8d6e1ecd47e766bd40f92ac295 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sun, 28 Jun 2026 02:40:30 -0400 Subject: feat: admin accounts, god mode, OLC commands like dig/room, 'inline' objects changed to 'local' objects --- internal/game/render_map.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/game/render_map.go') 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 -- cgit v1.2.3