add todo
This commit is contained in:
parent
9785b556e5
commit
d89a1c2e71
1 changed files with 1 additions and 0 deletions
|
@ -127,6 +127,7 @@ func (g *Game) Update() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update everything that is not disabled.
|
// Update everything that is not disabled.
|
||||||
|
// TODO: do it in a fixed order? map essentially randomises iteration order
|
||||||
for u := range g.Query(g.Ident(), UpdaterType) {
|
for u := range g.Query(g.Ident(), UpdaterType) {
|
||||||
// Skip g (note g satisfies Updater, so this would infinitely recurse)
|
// Skip g (note g satisfies Updater, so this would infinitely recurse)
|
||||||
if u == g {
|
if u == g {
|
||||||
|
|
Loading…
Reference in a new issue