Cleanup up all instances of using var/ definitions in proc parameters. (#52728)

* var/list cleanup

* The rest of the owl

* plushvar bad

* Can't follow my own advice.
This commit is contained in:
Timberpoes
2020-08-07 16:23:42 +01:00
committed by GitHub
parent 64eb7bfd58
commit 19c3bbde31
179 changed files with 359 additions and 359 deletions

View File

@@ -366,7 +366,7 @@ GLOBAL_LIST_EMPTY(the_station_areas)
maprotate()
SSvote.initiate_vote("map", "automatic map rotation")
/datum/controller/subsystem/mapping/proc/changemap(var/datum/map_config/VM)
/datum/controller/subsystem/mapping/proc/changemap(datum/map_config/VM)
if(!VM.MakeNextMap())
next_map_config = load_map_config(default_to_box = TRUE)
message_admins("Failed to set new map with next_map.json for [VM.map_name]! Using default as backup!")

View File

@@ -130,7 +130,7 @@ SUBSYSTEM_DEF(pai)
/datum/controller/subsystem/pai/proc/spam_again()
ghost_spam = FALSE
/datum/controller/subsystem/pai/proc/check_ready(var/datum/pai_candidate/C)
/datum/controller/subsystem/pai/proc/check_ready(datum/pai_candidate/C)
if(!C.ready)
return FALSE
for(var/mob/dead/observer/O in GLOB.player_list)

View File

@@ -18,7 +18,7 @@ SUBSYSTEM_DEF(pathfinder)
var/free
var/list/flow
/datum/flowcache/New(var/n)
/datum/flowcache/New(n)
. = ..()
lcount = n
run = 0