forked from mtcontrib/markers
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
|
||||
--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