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
|
end
|
||||||
|
|
||||||
this.on_fixedupdate = function()
|
this.on_fixedupdate = function()
|
||||||
if Input.getKeyJustPressed(Input.KeyCode.Enter) then
|
if Input.getKeyDown(Input.KeyCode.Enter) then
|
||||||
gotoScene('SideScene')
|
gotoScene('SideScene')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ this.on_init = function()
|
|||||||
end
|
end
|
||||||
|
|
||||||
this.on_fixedupdate = function()
|
this.on_fixedupdate = function()
|
||||||
if Input.getKeyJustPressed(Input.KeyCode.Enter) then
|
if Input.getKeyDown(Input.KeyCode.Enter) then
|
||||||
gotoScene('MainScene')
|
gotoScene('MainScene')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user