diff options
| author | historia <[not public]> | 2026-09-19 01:55:34 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-09-19 01:55:34 -0400 |
| commit | cc33072eced3d5460512c09c42ec4531c807d7af (patch) | |
| tree | b1b451fa87fa389cb8343a3645372f3b43f5523e /internal/game/act_burn.go | |
| parent | 2c38386484cdb507c4687caceb37e0b963e33594 (diff) | |
| download | thehouseoficarus-cc33072eced3d5460512c09c42ec4531c807d7af.tar.gz | |
fix: casino stake preservation, world state reconciliation, casino game registration
Diffstat (limited to 'internal/game/act_burn.go')
| -rw-r--r-- | internal/game/act_burn.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/act_burn.go b/internal/game/act_burn.go index a823b19..877fd78 100644 --- a/internal/game/act_burn.go +++ b/internal/game/act_burn.go @@ -431,7 +431,7 @@ func (g *Game) FireTick() { for _, st := range g.World.AllFireStates() { st.Quality-- if st.Quality <= 0 { - g.World.RemoveObjInstance(st.RoomID, st.DefID) + g.World.RemoveObjInstanceIndex(st.RoomID, st.DefID, st.Index) g.cancelStokers(st.RoomID) if def, err := g.ObjectStore.Load(st.DefID); err == nil && def.RemovalItem != "" { g.World.AddGroundItem(st.RoomID, def.RemovalItem, 1) |
