mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
fixes runtime when clicking an airlock with TK (#69056)
* fixes runtime when clicking an airlock with TK by checking the accessor is a mob.
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
//check if it doesn't require any access at all
|
||||
if(check_access(null))
|
||||
return TRUE
|
||||
if(!istype(accessor)) //likely a TK user.
|
||||
return FALSE
|
||||
if(issilicon(accessor))
|
||||
if(ispAI(accessor))
|
||||
return FALSE
|
||||
|
||||
Reference in New Issue
Block a user