[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
This commit is contained in:
Jalleo
2019-09-29 23:27:14 +01:00
committed by oranges
parent a471d5081f
commit b99dd426ed
+2 -1
View File
@@ -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, "<span class='warning'>No valid ID detected.</span>")