Revert "Runtimes go BRRR (#10184)"

This reverts commit a701a112d7.
This commit is contained in:
Jamie D
2020-10-28 14:57:04 +00:00
parent 35dac7ef23
commit c3bd37b0fa
10 changed files with 13 additions and 16 deletions

View File

@@ -669,7 +669,7 @@ so as to remain in compliance with the most up-to-date laws."
else
. = ""
alert.screen_loc = .
mymob?.client?.screen |= alert
mymob.client.screen |= alert
return 1
/mob

View File

@@ -53,8 +53,7 @@
if(screenmob != mymob)
C.screen -= locate(/obj/screen/plane_master/parallax_white) in C.screen
C.screen += PM
if(PM)
PM.color = initial(PM.color)
PM.color = initial(PM.color)
C.parallax_layers = null
/datum/hud/proc/apply_parallax_pref(mob/viewmob)

View File

@@ -47,7 +47,7 @@ SUBSYSTEM_DEF(statpanels)
var/list/currentrun = src.currentrun
while(currentrun.len)
var/client/C = currentrun[currentrun.len]
C << output(url_encode(C?.statpanel), "statbrowser:tab_change") // work around desyncs
C << output(url_encode(C.statpanel), "statbrowser:tab_change") // work around desyncs
currentrun.len--
var/ping_str = url_encode("Ping: [round(C.lastping, 1)]ms (Average: [round(C.avgping, 1)]ms)")
var/other_str = url_encode(json_encode(C.mob.get_status_tab_items()))

View File

@@ -169,7 +169,7 @@
// Living creature or not, we remove you anyway.
concurrent_users -= user_ref
// Unregister map objects
user?.client?.clear_map(map_name)
user.client.clear_map(map_name)
// Turn off the console
if(length(concurrent_users) == 0 && is_living)
active_camera = null

View File

@@ -163,8 +163,7 @@
source = init_source
data = init_data
var/turf/T = get_turf(source)
if(T)
levels = list(T.z)
levels = list(T.z)
if(!("reject" in data))
data["reject"] = TRUE

View File

@@ -112,7 +112,7 @@
/obj/item/clothing/neck/bodycam/dropped(mob/wearer)
..()
if (bodcam?.status)//if it's on
if (bodcam.status)//if it's on
attack_self(wearer) //turn it off
GLOB.cameranet.updatePortableCamera(bodcam)
UnregisterSignal(listeningTo, COMSIG_MOVABLE_MOVED)

View File

@@ -86,7 +86,7 @@
return FALSE
var/turf/here = get_turf(computer)
var/turf/there = get_turf(signal)
return (there?.z == here?.z) || (is_station_level(here?.z) && is_station_level(there?.z))
return (there.z == here.z) || (is_station_level(here.z) && is_station_level(there.z))
/**
*

View File

@@ -44,9 +44,8 @@
if(provide_pain_message && damage > 10 && prob(damage/3))//the higher the damage the higher the probability
to_chat(C, "<span class='warning'>You feel a dull pain in your abdomen.</span>")
else //for when our liver's failing
if(reagents)
reagents.end_metabolization(C, keep_liverless = TRUE) //Stops trait-based effects on reagents, to prevent permanent buffs
reagents.metabolize(C, can_overdose=FALSE, liverless = TRUE)
reagents.end_metabolization(C, keep_liverless = TRUE) //Stops trait-based effects on reagents, to prevent permanent buffs
reagents.metabolize(C, can_overdose=FALSE, liverless = TRUE)
if(HAS_TRAIT(C, TRAIT_STABLELIVER))
return
C.adjustToxLoss(4, TRUE, TRUE)

View File

@@ -100,7 +100,7 @@
var/obj/item/tool = user.get_active_held_item()
if(S.try_op(user, target, user.zone_selected, tool, src, try_to_fail))
return TRUE
if(tool?.item_flags & SURGICAL_TOOL) //Just because you used the wrong tool it doesn't mean you meant to whack the patient with it
if(tool.item_flags & SURGICAL_TOOL) //Just because you used the wrong tool it doesn't mean you meant to whack the patient with it
to_chat(user, "<span class='warning'>This step requires a different tool!</span>")
return TRUE
return FALSE

View File

@@ -42,7 +42,7 @@ obj/item/multitool/tricorder/suicide_act(mob/living/carbon/user)
/obj/item/multitool/tricorder/attack(mob/living/M, mob/living/user, obj/item/I)
add_fingerprint(user)
var/turf/U = get_turf(I)
atmosanalyzer_scan(U?.return_air(), user, I)
atmosanalyzer_scan(U.return_air(), user, I)
if(user.stat || user.eye_blind)
return
if (isslime(M))