diff options
| author | historia <[not public]> | 2026-06-28 04:05:58 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-28 04:05:58 -0400 |
| commit | 82c025b3f3e5cac82800ab9d7f11dcb4e3aa884b (patch) | |
| tree | 98d9798e9deac2b41d951e369c9f1fcec2881a37 /internal/game/cmd_move.go | |
| parent | a1b6613c6c6a2f8d6e1ecd47e766bd40f92ac295 (diff) | |
| download | thehouseoficarus-82c025b3f3e5cac82800ab9d7f11dcb4e3aa884b.tar.gz | |
fix: removed god mode speed limit, fixed hidden objects in god mode
Diffstat (limited to 'internal/game/cmd_move.go')
| -rw-r--r-- | internal/game/cmd_move.go | 3 |
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 } |
