mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
fix a weird runtime
This commit is contained in:
@@ -144,7 +144,9 @@ NOTE: It checks usr by default. Supply the "user" argument if you wish to check
|
||||
if(!forceGlobal && usr)
|
||||
var/client/C = usr.client
|
||||
if(!C)
|
||||
CRASH("No client for HrefToken()!")
|
||||
// CRASH("No client for HrefToken()!") //Chomp EDIT - this seems be to encountered and we don't want this to crash
|
||||
log_debug("Attempted to retrieve a HrefToken of an entity with no client.") //Chomp EDIT
|
||||
return 0 //Chomp EDIT
|
||||
var/datum/admins/holder = C.holder
|
||||
if(holder)
|
||||
tok = holder.href_token
|
||||
|
||||
Reference in New Issue
Block a user