mirror of
https://github.com/SmallJoker/boost_cart.git
synced 2025-01-23 09:21:26 +01:00
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")
|
||||
end
|
||||
|
||||
-- Support for non-default games
|
||||
if not default.player_attached then
|
||||
default.player_attached = {}
|
||||
end
|
||||
|
||||
boost_cart.cart = {
|
||||
physical = false,
|
||||
collisionbox = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
|
||||
|
Loading…
Reference in New Issue
Block a user