[MIRROR] Fixes shitty martial arts code (#2911)

* 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

* Fixes shitty martial arts code

Co-authored-by: SmArtKar <44720187+SmArtKar@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-01-28 03:04:22 +01:00
committed by GitHub
co-authored by SmArtKar
parent 2687860dfd
commit b34fad8db8
+2
View File
@@ -1929,6 +1929,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)