forked from whosit/waypoint_compass
handle incorrect point_pos arg
This commit is contained in:
parent
f521c193dc
commit
75223aa448
@ -187,6 +187,7 @@ function WaypointHUD:new(player, point_pos,
|
||||
point_icon, point_icon_scale, point_color,
|
||||
size, alignment, arrow_icon_format, arrow_icon_color, quad_steps,
|
||||
do_auto_update)
|
||||
point_pos = point_pos or {x=0, y=0, z=0}
|
||||
local w = {
|
||||
point_pos = point_pos,
|
||||
do_auto_update = do_auto_update,
|
||||
|
Loading…
Reference in New Issue
Block a user