Fixes some missing adjancency checks. (#44020)

This commit is contained in:
skoglol
2019-05-21 11:43:35 +02:00
committed by AnturK
parent c326333316
commit 5316926510
22 changed files with 36 additions and 34 deletions

View File

@@ -132,7 +132,7 @@
if(!active)
if(alert(user, "Turning the scrambler on will make the shuttle trackable by GPS. Are you sure you want to do it?", "Scrambler", "Yes", "Cancel") == "Cancel")
return
if(active || !user.canUseTopic(src))
if(active || !user.canUseTopic(src, BE_CLOSE))
return
toggle_on(user)
update_icon()
@@ -447,4 +447,4 @@
/datum/export/pirate/holochip/get_cost(atom/movable/AM)
var/obj/item/holochip/H = AM
return H.credits
return H.credits