forked from VoxeLibre/VoxeLibre
Fix crash bug
This commit is contained in:
parent
2527479401
commit
e4db91d35c
|
@ -836,7 +836,7 @@ end
|
||||||
|
|
||||||
local function take_bed (entity)
|
local function take_bed (entity)
|
||||||
if not entity then return end
|
if not entity then return end
|
||||||
if not self:ready_to_path() then return end
|
if not entity:ready_to_path() then return end
|
||||||
|
|
||||||
local p = entity.object:get_pos()
|
local p = entity.object:get_pos()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue