From b99dd426eddcec11d4e8f8ae53b34c066240415a Mon Sep 17 00:00:00 2001 From: Jalleo Date: Sun, 29 Sep 2019 23:27:14 +0100 Subject: [PATCH] [s]Server fix (#46807) Why It's Good For The Game No crashes Changelog cl fix: A universal issue was detected with the interactions of cyborgs and ore redemption machines and we had to block it out with bluespace technology. It was only with claiming points all other functions remain available. /cl --- code/modules/mining/machine_redemption.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/mining/machine_redemption.dm b/code/modules/mining/machine_redemption.dm index 0b34ec91e37..f4c78585f6b 100644 --- a/code/modules/mining/machine_redemption.dm +++ b/code/modules/mining/machine_redemption.dm @@ -256,7 +256,8 @@ var/mob/M = usr var/obj/item/card/id/I = M.get_idcard(TRUE) if(points) - if(I?.mining_points += points) + if(I) + I.mining_points += points points = 0 else to_chat(usr, "No valid ID detected.")