Fix multiple KIN exploits (#9786)

This commit is contained in:
Kashargul
2025-01-05 14:38:24 +01:00
committed by GitHub
parent edae67fd5f
commit 4f51cf1044
12 changed files with 43 additions and 10 deletions
+4
View File
@@ -32,6 +32,10 @@
return 0
var/mob/living/pred = hit_atom
// CHOMPAdd Start
if(pred.is_incorporeal())
return
// CHOMPAdd End
var/safe_fall = FALSE
if(pred.softfall || (istype(pred, /mob/living/simple_mob) && pred.mob_size <= MOB_SMALL)) // TODO: add ability for mob below to be 'soft' and cushion fall
safe_fall = TRUE