aboutsummaryrefslogtreecommitdiff
path: root/internal/game/act_burn.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/act_burn.go')
-rw-r--r--internal/game/act_burn.go2
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)