More CI for conditionals (#24050)

* yay

* and thus, it was fixed

* and this fix too, so that the lang server stops complaining

* warrior review
This commit is contained in:
Contrabang
2024-02-06 18:29:33 +00:00
committed by GitHub
parent 877b3b38f7
commit 848c717771
26 changed files with 46 additions and 54 deletions
@@ -512,18 +512,6 @@ GLOBAL_LIST_EMPTY(deadsay_radio_systems)
broadcast_message(tcm)
qdel(tcm) // Delete the message datum
/*
/obj/item/radio/proc/accept_rad(obj/item/radio/R as obj, message)
if((R.frequency == frequency && message))
return 1
else if
else
return null
return
*/
/obj/item/radio/proc/receive_range(freq, level)
// check if this radio can receive on the given frequency, and if so,
@@ -218,7 +218,7 @@
previousturf = T
operating = FALSE
for(var/mob/M in viewers(1, loc))
if((M.client && M.machine == src))
if(M.client && M.machine == src)
attack_self(M)
+1 -1
View File
@@ -49,7 +49,7 @@
icon_state = "taperoll-2"
if((amount <= 6) && (amount > 4))
icon_state = "taperoll-3"
if((amount > 6))
if(amount > 6)
icon_state = "taperoll-4"
else
icon_state = "taperoll-4"
+2 -2
View File
@@ -140,7 +140,7 @@
var/is_in_use = FALSE
var/list/nearby = viewers(1, src)
for(var/mob/M in nearby)
if((M.client && M.machine == src))
if(M.client && M.machine == src)
is_in_use = TRUE
src.attack_hand(M)
if(isAI(usr) || isrobot(usr))
@@ -165,7 +165,7 @@
var/list/nearby = viewers(1, src)
var/is_in_use = FALSE
for(var/mob/M in nearby)
if((M.client && M.machine == src))
if(M.client && M.machine == src)
is_in_use = TRUE
src.interact(M)
var/ai_in_use = AutoUpdateAI(src)
+2 -2
View File
@@ -52,7 +52,7 @@
if((usr.stat || usr.restrained())) //For when a player is handcuffed while they have the notice window open
return
var/obj/item/P = locate(href_list["remove"])
if((P && P.loc == src))
if(P && P.loc == src)
P.loc = get_turf(src) //dump paper on the floor because you're a clumsy fuck
P.add_fingerprint(usr)
add_fingerprint(usr)
@@ -77,6 +77,6 @@
if(href_list["read"])
var/obj/item/paper/P = locate(href_list["read"])
if((P && P.loc == src))
if(P && P.loc == src)
P.show_content(usr)
return