Please sign in to comment.
Only call init() indirectly, and make those handlers which were calli…
…ng it call update() instead. It has the same effect since init() is called from update() anyway, and this prevents double-execution of update() if it happens to be called first (thanks to Paul Irish for pointing that out).
- Loading branch information...
Showing with 3 additions and 5 deletions.