aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_move.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_move.go')
-rw-r--r--internal/game/cmd_move.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/game/cmd_move.go b/internal/game/cmd_move.go
index 54c94c4..f12c494 100644
--- a/internal/game/cmd_move.go
+++ b/internal/game/cmd_move.go
@@ -106,6 +106,9 @@ var gracefulItems = map[string]bool{
}
func (g *Game) moveTicks(p *player.Player, multiplier float64) int {
+ if p.GodMode {
+ return 0
+ }
if id, ok := p.Equipment[item.SlotBack]; ok && id == "cape_of_agility" {
return 0
}