diff options
author | Sokomine <wegwerf@anarres.dyndns.org> | 2015-09-12 03:19:10 +0200 |
---|---|---|
committer | Sokomine <wegwerf@anarres.dyndns.org> | 2015-09-12 03:19:10 +0200 |
commit | 52d1b90b8906b28d4b5ba93cd271b3865b316d00 (patch) | |
tree | 052d617454ba94b19e7f44f247f55959f26eb574 | |
parent | 164479eaaf91a7e09ea268e687ecf0c7bd77ae6a (diff) |
added option to read parameters from a local settings file
-rw-r--r-- | config.lua | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |