Paranoid sanitization

This commit is contained in:
Crazylemon64
2017-07-20 00:57:42 -07:00
parent a4b418dd7f
commit 37270ec7c4
5 changed files with 15 additions and 9 deletions
+3 -4
View File
@@ -142,7 +142,6 @@
var/admin_irc = ""
var/admin_notify_irc = ""
var/cidrandomizer_irc = ""
var/python_path = "" //Path to the python executable. Defaults to "python" on windows and "/usr/bin/env python2" on unix
var/default_laws = 0 //Controls what laws the AI spawns with.
@@ -494,12 +493,12 @@
if("python_path")
if(value)
config.python_path = value
python_path = value
else
if(world.system_type == UNIX)
config.python_path = "/usr/bin/env python2"
python_path = "/usr/bin/env python2"
else //probably windows, if not this should work anyway
config.python_path = "pythonw"
python_path = "pythonw"
if("assistant_limit")
config.assistantlimit = 1