forked from mtcontrib/boost_cart
Fix player_attached error on some subgames
This commit is contained in:
parent
a7fd733819
commit
d58f9930d1
5
init.lua
5
init.lua
|
@ -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},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user