Skip to content

Commit

Permalink
Fix bug with auto execution of commands after systems
Browse files Browse the repository at this point in the history
  • Loading branch information
unitoftime committed Feb 28, 2025
1 parent 6e527ae commit 48615c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion world.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ func (w *World) StepSystemList(dt time.Duration, systems ...System) time.Duratio
var dur time.Duration
for i := range systems {
dur += systems[i].step(dt)
w.cmd.Execute()
}
w.cmd.Execute()
return dur
}

0 comments on commit 48615c7

Please sign in to comment.