mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
There's no need for Copy proc, - returns a new list anyway.
This commit is contained in:
@@ -132,7 +132,7 @@ var/list/masterPool = list()
|
||||
proc/resetVariables()
|
||||
var/list/exclude = list("locs", "parent_type", "vars", "verbs", "type") // Read-only or compile-time vars
|
||||
exclude += args // Explicit var exclusion
|
||||
var/list/varsCopy = vars.Copy() - exclude
|
||||
var/list/varsCopy = vars - exclude
|
||||
var/key
|
||||
|
||||
for (key in varsCopy)
|
||||
|
||||
Reference in New Issue
Block a user