Don't predict node placement.

Fixes the car being completely dark for a split second.
This commit is contained in:
Diego Martínez 2016-11-02 19:13:31 -03:00
parent 4f4949c518
commit bb9d7478d5

View File

@ -58,6 +58,7 @@ minetest.register_node("rc_car:car", {
type = "fixed",
fixed = rc_pixelbox,
},
node_placement_prediction = "",
on_place = function(itemstack, placer, pointed_thing)
local obj = minetest.add_entity(pointed_thing.above, "rc_car:car_entity")
obj:setyaw(placer:get_look_yaw())