From 94ac303bca2bb730b809006e2978d82dc4055c01 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 24 Feb 2023 13:01:13 -0500 Subject: games/hello: Fix sleep call --- (limited to 'games/hello') 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 -- cgit v0.9.1