From f5964b962de2f333b38fc0b314b704cd6882e102 Mon Sep 17 00:00:00 2001 From: whosit Date: Tue, 22 Jun 2021 16:25:56 +0300 Subject: [PATCH] use DIR_DELIM for portability --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 2fd0c15..7e3edaa 100644 --- a/init.lua +++ b/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