Skip to content

Commit

Permalink
added option to read parameters from a local settings file
Browse files Browse the repository at this point in the history
  • Loading branch information
Sokomine committed Sep 12, 2015
1 parent 164479e commit 52d1b90
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 52d1b90

Please sign in to comment.