mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user