Configuration Controller (#7857)

This commit is contained in:
Selis
2024-04-05 07:44:20 +02:00
committed by GitHub
parent c542e3bac0
commit e1a987c25c
235 changed files with 3294 additions and 989 deletions
+3 -3
View File
@@ -1216,8 +1216,8 @@ var/list/gamemode_cache = list()
SSdbcore.InitializeRound() // CHOMPEdit
//apply a default value to config.python_path, if needed
if (!config.python_path)
if (!CONFIG_GET(string/python_path)) // CHOMPEdit
if(world.system_type == UNIX)
config.python_path = "/usr/bin/env python2"
CONFIG_SET(string/python_path, "/usr/bin/env python2") // CHOMPEdit
else //probably windows, if not this should work anyway
config.python_path = "python"
CONFIG_SET(string/python_path, "python") // CHOMPEdit