fixed some more deprecated warnings

This commit is contained in:
sangeet79 2023-02-21 17:37:52 +03:00
parent b4d09e24de
commit 03d5c15451
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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