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:
ike709
2025-06-19 05:48:06 -05:00
committed by GitHub
parent 39def1a75e
commit 3d568c173b
7 changed files with 39 additions and 39 deletions

View File

@@ -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)