Prevents AI upload use off-station

This commit is contained in:
Kyep
2017-02-21 22:52:31 -08:00
parent a26a4543d9
commit 5d5938cc91
+1 -1
View File
@@ -24,7 +24,7 @@
attackby(obj/item/weapon/aiModule/module as obj, mob/user as mob, params)
if(is_away_level(user.z))
if(!is_station_level(user.z))
to_chat(user, "<span class='danger'>Unable to establish a connection</span>: You're too far away from the station!")
return
if(istype(module, /obj/item/weapon/aiModule))