mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2026-04-23 00:07:15 +08:00
internal/hooks: Rename Update -> BeforeUpdate
This commit is contained in:
@@ -54,7 +54,7 @@ var theInputState = &inputState{
|
||||
}
|
||||
|
||||
func init() {
|
||||
hooks.AppendHookOnUpdate(func() error {
|
||||
hooks.AppendHookOnBeforeUpdate(func() error {
|
||||
theInputState.update()
|
||||
return nil
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user