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:
ShizCalev
2022-08-10 20:19:01 -04:00
committed by GitHub
parent 661fbe60e0
commit eb4f0375ca
+2
View File
@@ -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