inpututil: Bug fix: Init prevTouchStates

This commit is contained in:
Hajime Hoshi 2018-02-17 04:07:16 +09:00
parent d3f573523a
commit e7f1623001

View File

@ -50,6 +50,7 @@ var theInputState = &inputState{
prevGamepadButtonStates: map[int]map[ebiten.GamepadButton]int{},
touchStates: map[int]int{},
prevTouchStates: map[int]int{},
}
func init() {