Fixes shitty martial arts code (#56397)

Fixes martial arts being handled in 2 places with a bit of a hack, this needs more attention in future (Hello 2025) -Lemon
This commit is contained in:
SmArtKar
2021-01-27 01:29:42 -08:00
committed by GitHub
parent 2bd3f5d78c
commit f5d28ae887
+2
View File
@@ -1903,6 +1903,8 @@
/mob/living/proc/apply_martial_art(mob/living/target)
if(HAS_TRAIT(target, TRAIT_MARTIAL_ARTS_IMMUNE))
return FALSE
if(ishuman(target) && ishuman(src)) //Human vs human are handled in species code
return FALSE
var/datum/martial_art/style = mind?.martial_art
var/attack_result = FALSE
if (style)