Fixed wrong function name
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
This commit is contained in:
@@ -4,7 +4,7 @@ this.on_init = function()
|
||||
end
|
||||
|
||||
this.on_fixedupdate = function()
|
||||
if Input.getKeyJustPressed(Input.KeyCode.Enter) then
|
||||
if Input.getKeyDown(Input.KeyCode.Enter) then
|
||||
gotoScene('SideScene')
|
||||
end
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ this.on_init = function()
|
||||
end
|
||||
|
||||
this.on_fixedupdate = function()
|
||||
if Input.getKeyJustPressed(Input.KeyCode.Enter) then
|
||||
if Input.getKeyDown(Input.KeyCode.Enter) then
|
||||
gotoScene('MainScene')
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user