mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-30 16:48:12 +01:00
@@ -84,6 +84,10 @@
|
||||
var/mob/living/M = target
|
||||
if(!istype(M))
|
||||
return
|
||||
//CHOMPADDITION: prevent trding bodies that have no mind and are carbon, mianly fixes VR crash
|
||||
if(istype(M,/mob/living/carbon) && !M.mind)
|
||||
return
|
||||
//CHOMPADDITION: prevent trding bodies that have no mind and are carbon, mianly fixes VR crash
|
||||
if(target != firer) //If you shot yourself, you probably want to be TFed so don't bother with prefs.
|
||||
if(!M.allow_spontaneous_tf && !tf_admin_pref_override)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user