fixed some more deprecated warnings
This commit is contained in:
parent
b4d09e24de
commit
03d5c15451
@ -123,7 +123,7 @@ local function place_entities(pos)
|
||||
y = pos.y + height,
|
||||
z = pos.z - values.dz * depth + values.rz * right})
|
||||
|
||||
objrefs[entity_name]:setyaw(values.yaw)
|
||||
objrefs[entity_name]:set_yaw(values.yaw)
|
||||
end
|
||||
end
|
||||
return objrefs
|
||||
|
@ -54,7 +54,7 @@ function tubelib.mark_region(name, pos1, pos2)
|
||||
visual_size={x=sizez * 2, y=sizey * 2},
|
||||
collisionbox = {-thickness, -sizey, -sizez, thickness, sizey, sizez},
|
||||
})
|
||||
marker:setyaw(math.pi / 2)
|
||||
marker:set_yaw(math.pi / 2)
|
||||
marker:get_luaentity().player_name = name
|
||||
table.insert(markers, marker)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user