removes all var/ in procs (#12738)

This commit is contained in:
Kashargul
2026-05-05 10:55:04 +02:00
committed by GitHub
parent cc15f62485
commit d75f90466d
2159 changed files with 8035 additions and 8037 deletions
@@ -1,4 +1,4 @@
/obj/item/modular_computer/proc/power_failure(var/malfunction = 0)
/obj/item/modular_computer/proc/power_failure(malfunction = 0)
if(enabled) // Shut down the computer
visible_message(span_danger("\The [src]'s screen flickers briefly and then goes dark."))
if(active_program)
@@ -8,7 +8,7 @@
shutdown_computer(0)
// Tries to use power from battery. Passing 0 as parameter results in this proc returning whether battery is functional or not.
/obj/item/modular_computer/proc/battery_power(var/power_usage = 0)
/obj/item/modular_computer/proc/battery_power(power_usage = 0)
apc_powered = FALSE
if(!battery_module || !battery_module.check_functionality() || battery_module.battery.charge <= 0)
return FALSE
@@ -23,7 +23,7 @@
..()
// Tries to use power from APC, if present.
/obj/item/modular_computer/proc/apc_power(var/power_usage = 0)
/obj/item/modular_computer/proc/apc_power(power_usage = 0)
apc_powered = TRUE
// Tesla link was originally limited to machinery only, but this probably works too, and the benefit of being able to power all devices from an APC outweights
// the possible minor performance loss.