mirror of
https://github.com/Sokomine/markers.git
synced 2025-01-09 16:00:17 +01:00
added option to read parameters from a local settings file
This commit is contained in:
parent
164479eaaf
commit
52d1b90b89
@ -29,3 +29,8 @@ end
|
|||||||
|
|
||||||
-- for most cases, the default values ought to work
|
-- for most cases, the default values ought to work
|
||||||
--markers.AREA_RANGE = 100000;
|
--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
|
||||||
|
Loading…
Reference in New Issue
Block a user