]> git.lizzy.rs Git - crafter_client.git/commitdiff
Attempt 57 at stopping error 23
authoroilboi <47129783+oilboi@users.noreply.github.com>
Mon, 20 Apr 2020 11:52:14 +0000 (07:52 -0400)
committeroilboi <47129783+oilboi@users.noreply.github.com>
Mon, 20 Apr 2020 11:52:14 +0000 (07:52 -0400)
init.lua

index 4d1cac3d6fe4e87847bca7feb38b26a63af45537..b216d1e6b3daa2312a275b13d3afddc251d28849 100644 (file)
--- a/init.lua
+++ b/init.lua
@@ -25,15 +25,17 @@ function initialize_all()
 end
 
 --we must delay initialization until the server tells us it's ready to begin
-local initialize_client_modchannels = minetest.mod_channel_join("initializer")
-
 local function recursive_startup_attempt()
+       local initialize_client_modchannels = minetest.mod_channel_join("initializer")
+       
        local ready_to_go = initialize_client_modchannels:is_writeable()
        if ready_to_go == true then
                --good to begin
                initialize_all()
                initialize_client_modchannels:leave()
        else
+       
+               
                --try again
                minetest.after(0,function()
                        recursive_startup_attempt()