diff options
| author | historia <[not public]> | 2026-06-22 01:54:28 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-22 01:54:28 -0400 |
| commit | 7f07c7236578e1a7bcef0282ff9d7f5bf8c7c045 (patch) | |
| tree | 7f9182f6fc9ed44d4738bfc6758660d741ba88e7 /internal/game/cmd_hide.go | |
| parent | a3ae1e6aad696f584d138d9363c05dedff136a65 (diff) | |
| download | thehouseoficarus-7f07c7236578e1a7bcef0282ff9d7f5bf8c7c045.tar.gz | |
fix: safespot fixes
Diffstat (limited to 'internal/game/cmd_hide.go')
| -rw-r--r-- | internal/game/cmd_hide.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/game/cmd_hide.go b/internal/game/cmd_hide.go index 9445949..2dca478 100644 --- a/internal/game/cmd_hide.go +++ b/internal/game/cmd_hide.go @@ -87,10 +87,10 @@ func (g *Game) executeHide(sess *net.Session, args []string, rawInput string) { if st.SafespotLevel <= 0 { if cfg.RespawnTicks > 0 { sess.WriteLine(fmt.Sprintf("The %s has been destroyed and hasn't reformed yet.", objDef.Name)) - } else { - sess.WriteLine(fmt.Sprintf("The %s has been completely destroyed.", objDef.Name)) + return } - return + st.SafespotLevel = len(cfg.Levels) + st.SafespotTicksAtLevel = 0 } inCombat := combat.GetCombat(p.Name) != nil |
