forked from whosit/waypoint_compass
use DIR_DELIM for portability
This commit is contained in:
parent
0516abbc59
commit
f5964b962d
2
init.lua
2
init.lua
@ -9,7 +9,7 @@ local COMPASS_RANGE = 180
|
||||
local WAYPOINT_ICON = "waypoint_compass_waypoint.png"
|
||||
local WAYPOINT_SCALE = {x=-1/16*9,y=-1}
|
||||
|
||||
local waypoint_lib = dofile(minetest.get_modpath("waypoint_compass") .. "/waypoint_lib.lua")
|
||||
local waypoint_lib = dofile(minetest.get_modpath("waypoint_compass") .. DIR_DELIM .. "waypoint_lib.lua")
|
||||
|
||||
-- internal mod state
|
||||
local player_waypoints = {} -- store a current player waypoint to see if it needs to be updated
|
||||
|
Loading…
Reference in New Issue
Block a user