From 84d74ca4351a97148ad8339676f9df7946bc21fb Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Thu, 25 Jun 2026 20:33:47 -0400 Subject: feat: trigger system for scripted events added. --- internal/game/act_room.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'internal/game/act_room.go') diff --git a/internal/game/act_room.go b/internal/game/act_room.go index 86c1737..fec7304 100644 --- a/internal/game/act_room.go +++ b/internal/game/act_room.go @@ -188,9 +188,8 @@ func (g *Game) isCharLive(name string, sess *net.Session) bool { func (g *Game) applyFlagMutations(p *player.Player, setFlags, setPlayerFlags map[string]any) { g.Flags.SetAll(setFlags) if len(setPlayerFlags) > 0 { - p.EnsureFlags() for k, v := range setPlayerFlags { - p.Flags[k] = v + g.setPlayerFlag(p, k, v) } } } -- cgit v1.2.3