summaryrefslogtreecommitdiff
path: root/boost_cart/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'boost_cart/init.lua')
-rw-r--r--boost_cart/init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/boost_cart/init.lua b/boost_cart/init.lua
index 1b2afa2..755ab9d 100644
--- a/boost_cart/init.lua
+++ b/boost_cart/init.lua
@@ -25,6 +25,10 @@ if not default.player_attached then
default.player_attached = {}
end
+minetest.after(1, function()
+ boost_cart.old_player_model = type(player_api) ~= "table"
+end)
+
dofile(boost_cart.modpath.."/functions.lua")
dofile(boost_cart.modpath.."/rails.lua")