From 1aba2bdd23aebed4032333e74aa553c40a31fcbd Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sun, 14 Jun 2026 21:07:26 -0400 Subject: refactor: added docs, split up some components in game package --- internal/game/action_talk.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/game/action_talk.go') diff --git a/internal/game/action_talk.go b/internal/game/action_talk.go index f4929e9..4980c5a 100644 --- a/internal/game/action_talk.go +++ b/internal/game/action_talk.go @@ -111,7 +111,7 @@ func (g *Game) handleTalkInput(sess *net.Session, input string) { return } - idx, err := parseIndex(input) + idx, err := parseChoiceIndex(input) if err != nil || idx <= 0 { g.CancelAction(p) sess.State = net.StateGame @@ -193,7 +193,7 @@ func (g *Game) applyNodeAction(sess *net.Session, na *action.NodeAction) { g.AccountStore.SaveCharacter(p) g.World.SeedGroundItems(p.RoomID) g.seedRoomMobs(p.RoomID) - g.ensureRoomObjects(p.RoomID) + g.seedRoomObjects(p.RoomID) if g.Hub != nil { g.Hub.EnterRoom(sess, p.RoomID) } -- cgit v1.2.3