diff options
author | P. J. McDermott <pj@pehjota.net> | 2023-02-24 13:01:13 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2023-02-24 13:01:13 (EST) |
commit | 94ac303bca2bb730b809006e2978d82dc4055c01 (patch) | |
tree | 51acaf620ec6e3ce20a238d66e239c4ab4794936 /games | |
parent | 2bf01e5803269708e0a92fddefb0bae9883d20aa (diff) | |
download | overworld-rpg-94ac303bca2bb730b809006e2978d82dc4055c01.zip overworld-rpg-94ac303bca2bb730b809006e2978d82dc4055c01.tar.gz overworld-rpg-94ac303bca2bb730b809006e2978d82dc4055c01.tar.bz2 |
games/hello: Fix sleep call
Diffstat (limited to 'games')
-rw-r--r-- | games/hello/init.lua | 2 |
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 |