diff --git a/pkg/server/room.go b/pkg/server/room.go index 14d482d..c0a02ab 100644 --- a/pkg/server/room.go +++ b/pkg/server/room.go @@ -30,6 +30,7 @@ type ServerPlayer struct { BonusScore int // Score aus Coins und anderen Boni IsAlive bool IsSpectator bool + State string // Aktueller State (z.B. Emote) // Powerups HasDoubleJump bool // Doppelsprung aktiv? @@ -913,6 +914,7 @@ func (r *Room) Broadcast() { Y: p.Y, VX: p.VX, VY: p.VY, + State: p.State, OnGround: p.OnGround, OnWall: p.OnWall, LastInputSeq: p.LastInputSeq,