1
0
mirror of https://github.com/SmallJoker/boost_cart.git synced 2024-12-25 18:30:19 +01:00

Fix player_attached error on some subgames

This commit is contained in:
SmallJoker 2015-06-05 20:30:48 +02:00
parent a7fd733819
commit d58f9930d1

View File

@ -20,6 +20,11 @@ if mesecon then
dofile(boost_cart.modpath.."/detector.lua") dofile(boost_cart.modpath.."/detector.lua")
end end
-- Support for non-default games
if not default.player_attached then
default.player_attached = {}
end
boost_cart.cart = { boost_cart.cart = {
physical = false, physical = false,
collisionbox = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, collisionbox = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},