mirror of
https://github.com/Sokomine/markers.git
synced 2025-07-01 06:40:21 +02:00
added option to read parameters from a local settings file
This commit is contained in:
@ -29,3 +29,8 @@ end
|
||||
|
||||
-- for most cases, the default values ought to work
|
||||
--markers.AREA_RANGE = 100000;
|
||||
|
||||
if( io.open(minetest.get_worldpath().."/markers_settings.txt","r")) then
|
||||
io.close()
|
||||
dofile(minetest.get_worldpath().."/markers_settings.txt")
|
||||
end
|
||||
|
Reference in New Issue
Block a user