summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/hello/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/hello/init.lua b/games/hello/init.lua
index 41c8c91..e44befd 100644
--- a/games/hello/init.lua
+++ b/games/hello/init.lua
@@ -3,6 +3,6 @@ require "posix"
function on_init()
print("Hello, world!");
bouken.viewport.set_size(320, 240);
- posix.sleep(2);
+ posix.unistd.sleep(2);
print("Goodbye, world!");
end