[MIRROR] Cleanup up all instances of using var/ definitions in proc parameters. (#240)

* 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.

* Cleanup up all instances of using var/ definitions in proc parameters.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
This commit is contained in:
SkyratBot
2020-08-07 18:26:21 +01:00
committed by GitHub
co-authored by Timberpoes
parent 2156012137
commit ee324ab3c2
179 changed files with 359 additions and 359 deletions
+1 -1
View File
@@ -604,7 +604,7 @@
return TRUE
/obj/machinery/light/proc/flicker(var/amount = rand(10, 20))
/obj/machinery/light/proc/flicker(amount = rand(10, 20))
set waitfor = 0
if(flickering)
return
+2 -2
View File
@@ -79,7 +79,7 @@
// returns true if the area has power on given channel (or doesn't require power).
// defaults to power_channel
/obj/machinery/proc/powered(var/chan = -1) // defaults to power_channel
/obj/machinery/proc/powered(chan = -1) // defaults to power_channel
if(!loc)
return FALSE
if(!use_power)
@@ -214,7 +214,7 @@
. += C
return .
/proc/update_cable_icons_on_turf(var/turf/T)
/proc/update_cable_icons_on_turf(turf/T)
for(var/obj/structure/cable/C in T.contents)
C.update_icon()
+1 -1
View File
@@ -123,7 +123,7 @@
/proc/ending_helper()
SSticker.force_ending = 1
/proc/cult_ending_helper(var/ending_type = 0)
/proc/cult_ending_helper(ending_type = 0)
if(ending_type == 2) //narsie fukkin died
Cinematic(CINEMATIC_CULT_FAIL,world,CALLBACK(GLOBAL_PROC,/proc/ending_helper))
else if(ending_type) //no explosion
+1 -1
View File
@@ -133,7 +133,7 @@
return ..()
/obj/machinery/power/grounding_rod/zap_act(var/power)
/obj/machinery/power/grounding_rod/zap_act(power)
if(anchored && !panel_open)
flick("grounding_rodhit", src)
zap_buckle_check(power)
+1 -1
View File
@@ -88,7 +88,7 @@
. += "There are [orbiting_balls.len] mini-balls orbiting it."
/obj/singularity/energy_ball/proc/move_the_basket_ball(var/move_amount)
/obj/singularity/energy_ball/proc/move_the_basket_ball(move_amount)
//we face the last thing we zapped, so this lets us favor that direction a bit
var/move_bias = pick(GLOB.alldirs)
for(var/i in 0 to move_amount)