Fixes a runtime with BotKeeper and observers (#72631)

## About The Pull Request

Viewing the botkeeper app on an open computer as an observer would cause
a runtime. check_access runtimes when passed something that isn't a
mob/living, so an observer who opens the UI would be passed into
check_access for every bot on station, causing runtimes.


![image](https://user-images.githubusercontent.com/28870487/211671642-7461229d-16e0-42c4-a64f-35f8d95a65c7.png)
## Why It's Good For The Game

This runtime fix was brought to you by
[https://runtimes.moth.fans/runtime/](https://runtimes.moth.fans/runtime)
## Changelog
🆑
fix: viewing the botkeeper app as an observer will no longer runtime.
/🆑
This commit is contained in:
Rhials
2023-01-12 20:06:31 -08:00
committed by GitHub
parent f8b1ee868a
commit f94e65c971
@@ -213,6 +213,8 @@
return TRUE
if(!(bot_cover_flags & BOT_COVER_LOCKED)) // Unlocked.
return TRUE
if(!istype(user)) // Non-living mobs shouldn't be manipulating bots (like observes using the botkeeper UI).
return FALSE
var/obj/item/card/id/used_id = id || user.get_idcard(TRUE)