From 980089dad6c5cc58adc56ac522d4edeaf4a3cc59 Mon Sep 17 00:00:00 2001 From: GunHog Date: Thu, 29 Jun 2017 13:05:13 -0500 Subject: [PATCH] Holodeck Silicon Check It was possible to emag the holodeck as a non-silicion without an emag. --- code/modules/holodeck/computer.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/holodeck/computer.dm b/code/modules/holodeck/computer.dm index 2648355b10d..11176413bb8 100644 --- a/code/modules/holodeck/computer.dm +++ b/code/modules/holodeck/computer.dm @@ -171,6 +171,8 @@ load_program(area) else if("safety" in href_list) var/safe = text2num(href_list["safety"]) + if(!issilicon(usr)) + return emagged = !safe if(!program) return