diff --git a/engine/scene.go b/engine/scene.go index 7e203c9..4ec90df 100644 --- a/engine/scene.go +++ b/engine/scene.go @@ -85,7 +85,7 @@ func (s *Scene) Update() error { if !ok { continue } - if t := z.DrawOrder(); t > cz { + if t := z.DrawOrder(); t >= cz { cz = t continue }