Code cleanup

This commit is contained in:
GreenXenith
2018-11-27 10:44:55 -08:00
parent 109b55d485
commit fbfc14f660

View File

@ -168,8 +168,9 @@ local spawn_entity = function(pos)
end end
local prepare_writing = function(pos) local prepare_writing = function(pos)
if get_entity(pos) then local entity = get_entity(pos)
set_texture(get_entity(pos)) if entity then
set_texture(entity)
end end
end end