Skip to content

Commit

Permalink
bugfix: fixed cqc runtime (ss220-space#4363)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimach authored Feb 6, 2024
1 parent 526bb2f commit 22743ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/modules/martial_arts/cqc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@
return ..()

/datum/martial_art/cqc/teach(mob/living/carbon/human/H, make_temporary)
for(var/datum/martial_art/cqc/under_siege/chef_art in H.mind.known_martial_arts)
chef_art.remove(H)
if(H.mind)
for(var/datum/martial_art/cqc/under_siege/chef_art in H.mind.known_martial_arts)
chef_art.remove(H)
return ..()

/datum/martial_art/cqc/proc/drop_restraining()
Expand Down

0 comments on commit 22743ab

Please sign in to comment.