mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 22:19:30 +01:00
Merge pull request #18141 from lzimann/temporarymarcial
Fix temporary martial arts not working properly when you already had another.
This commit is contained in:
@@ -66,12 +66,8 @@
|
||||
H.verbs += help_verb
|
||||
if(make_temporary)
|
||||
temporary = 1
|
||||
if(H.martial_art && H.martial_art.temporary)
|
||||
if(temporary)
|
||||
base = H.martial_art.base
|
||||
else
|
||||
H.martial_art.base = src //temporary styles have priority
|
||||
return
|
||||
if(H.martial_art && temporary)
|
||||
base = H.martial_art
|
||||
H.martial_art = src
|
||||
|
||||
/datum/martial_art/proc/remove(mob/living/carbon/human/H)
|
||||
|
||||
Reference in New Issue
Block a user