aboutsummaryrefslogtreecommitdiff
path: root/internal/game/tick.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/tick.go')
-rw-r--r--internal/game/tick.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/game/tick.go b/internal/game/tick.go
index eba8438..4db5b58 100644
--- a/internal/game/tick.go
+++ b/internal/game/tick.go
@@ -111,7 +111,7 @@ func (g *Game) WanderTick() {
toRoom: toRoom,
level: mobCombatLevel(inst),
})
- inst.RoomID = toRoom
+ g.MobStore.SetInstanceRoom(inst.InstanceID, toRoom)
}
// Object wandering (fishing spots, etc.)
@@ -270,8 +270,8 @@ func (g *Game) TechTick() {
if p.Battery <= 0 {
p.Battery = 0
p.DeactivateAllTechs()
- sess.WriteLine(g.colorize(sess, "tech_depleted",
- "Your battery is depleted! All tech has been disabled."))
+ sess.WriteLine(g.colorize(sess, "tech_depleted",
+ "Your battery is depleted! All tech has been disabled."))
g.writePrompt(sess)
}
}