mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Prevent script error in extended-movset
This commit is contained in:
parent
3825026faa
commit
f7ef932629
1 changed files with 1 additions and 1 deletions
|
|
@ -1163,7 +1163,7 @@ function act_walking(m)
|
||||||
end
|
end
|
||||||
|
|
||||||
function act_hold_walking(m)
|
function act_hold_walking(m)
|
||||||
if m.heldObj.behavior == bhvJumpingBox then
|
if m.heldObj ~= nil and m.heldObj.behavior == bhvJumpingBox then
|
||||||
return set_mario_action(m, ACT_CRAZY_BOX_BOUNCE, 0)
|
return set_mario_action(m, ACT_CRAZY_BOX_BOUNCE, 0)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue