equality is ok

This commit is contained in:
Josh Deprez 2021-08-28 16:26:24 +10:00
parent ee12b90f1e
commit 0e64c4a994

View file

@ -85,7 +85,7 @@ func (s *Scene) Update() error {
if !ok { if !ok {
continue continue
} }
if t := z.DrawOrder(); t > cz { if t := z.DrawOrder(); t >= cz {
cz = t cz = t
continue continue
} }