mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-14 19:32:32 +00:00
Rename vars that override internal vars (#20837)
## About The Pull Request OpenDream is adding `usr` and `args` to the `SoftReservedKeyword` pragma: https://github.com/OpenDreamProject/OpenDream/pull/2307 This PR renames `var/usr` to `var/user` and `var/args` to `var/arguments`. ## Why It's Good For The Game This pragma is currently set as an error on Aurora, because using internal var names for declared var names is cringe.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
/proc/ext_python(var/script, var/args, var/scriptsprefix = 1)
|
||||
/proc/ext_python(var/script, var/arguments, var/scriptsprefix = 1)
|
||||
if(scriptsprefix) script = "scripts/" + script
|
||||
|
||||
if(world.system_type == MS_WINDOWS)
|
||||
script = replacetext(script, "/", "\\")
|
||||
|
||||
var/command = GLOB.config.python_path + " " + script + " " + args
|
||||
var/command = GLOB.config.python_path + " " + script + " " + arguments
|
||||
|
||||
return shell(command)
|
||||
|
||||
Reference in New Issue
Block a user