diff options
Diffstat (limited to 'internal/game/cmd_move.go')
| -rw-r--r-- | internal/game/cmd_move.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/cmd_move.go b/internal/game/cmd_move.go index b95f5c5..e288dad 100644 --- a/internal/game/cmd_move.go +++ b/internal/game/cmd_move.go @@ -28,7 +28,7 @@ func (g *Game) doMove(sess *net.Session, dir string) { return } - if exitDef.Condition != nil && !g.CheckExitCondition(exitDef.Condition) { + if exitDef.Condition != nil && !g.checkCondition(sess, exitDef.Condition) { msg := exitDef.BlockedMessage if msg == "" { msg = fmt.Sprintf("The way %s is blocked.", exitDir) |
