Check object in mcl_throwing

This commit is contained in:
kay27 2022-03-04 02:59:37 +04:00
parent a887708fb5
commit 96bc98e716
1 changed files with 1 additions and 0 deletions

View File

@ -139,6 +139,7 @@ local function egg_on_step(self, dtime)
-- Turn given object into a child
local function make_child(object)
if not object then return end
local ent = object:get_luaentity()
object:set_properties({
visual_size = { x = ent.base_size.x/2, y = ent.base_size.y/2 },