mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 03:57:48 +01:00
Object access check fix.
Objects now only check synth access as intended, instead of the more restrictive allowance. Fixes https://github.com/PolarisSS13/Polaris/issues/409.
This commit is contained in:
@@ -39,7 +39,8 @@
|
||||
return STATUS_CLOSE
|
||||
|
||||
/mob/living/silicon/CanUseObjTopic(var/obj/O)
|
||||
return O.allowed(src)
|
||||
var/id = src.GetIdCard()
|
||||
return O.check_access(id)
|
||||
|
||||
/mob/proc/CanUseObjTopic()
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user