This is what happens when you dont test anything oh my god

This commit is contained in:
2023-04-15 18:49:02 -04:00
parent 1044c8299a
commit c0b205c6f0
2 changed files with 8 additions and 9 deletions

View File

@@ -63,7 +63,7 @@ func (ent *entity) setWindow (window *window) {
func (entity *entity) propagate (callback func (*entity) bool) {
for _, child := range entity.children {
if callback(child) { break }
if !callback(child) { break }
child.propagate(callback)
}
}