Browse Source

Update hello world sample

Daniele Bartolini 12 years ago
parent
commit
565d812632
1 changed files with 1 additions and 1 deletions
  1. 1 1
      samples/01.hello-world/lua/game.lua

+ 1 - 1
samples/01.hello-world/lua/game.lua

@@ -5,7 +5,7 @@ end
 
 function frame(dt)
 	-- Stop the engine when the 'ESC' key is released
-	if Keyboard.key_released(Keyboard.KC_ESCAPE) then
+	if Keyboard.button_released(Keyboard.ESCAPE) then
 		Device.stop()
 	end
 end