Sitting : prevent nil cases on pointed_thing

axinite
Jean-Patrick Guerrero 2016-02-28 20:13:40 +01:00
parent b695cc3d33
commit cb74aad285
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
local function top_face(pointed_thing)
if not pointed_thing then return end
return pointed_thing.above.y > pointed_thing.under.y
end