mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
[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:
@@ -298,7 +298,7 @@
|
||||
break
|
||||
src.updateSelfDialog()
|
||||
|
||||
/obj/item/camera_bug/proc/same_z_level(var/obj/machinery/camera/C)
|
||||
/obj/item/camera_bug/proc/same_z_level(obj/machinery/camera/C)
|
||||
var/turf/T_cam = get_turf(C)
|
||||
var/turf/T_bug = get_turf(loc)
|
||||
if(!T_bug || T_cam.z != T_bug.z)
|
||||
|
||||
@@ -178,7 +178,7 @@
|
||||
playsound(src.loc, 'sound/machines/ding.ogg', 50, TRUE)
|
||||
return new_bulbs
|
||||
|
||||
/obj/item/lightreplacer/proc/Charge(var/mob/user)
|
||||
/obj/item/lightreplacer/proc/Charge(mob/user)
|
||||
charge += 1
|
||||
if(charge > 3)
|
||||
AddUses(1)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
desc = "Made by Nerd. Co's infiltration and surveillance department. Upon closer inspection, there's a small screen in each lens."
|
||||
var/obj/item/spy_bug/linked_bug
|
||||
|
||||
/obj/item/clothing/glasses/regular/spy/proc/show_to_user(var/mob/user)//this is the meat of it. most of the map_popup usage is in this.
|
||||
/obj/item/clothing/glasses/regular/spy/proc/show_to_user(mob/user)//this is the meat of it. most of the map_popup usage is in this.
|
||||
if(!user)
|
||||
return
|
||||
if(!user.client)
|
||||
|
||||
Reference in New Issue
Block a user