fixes some action button issues (#25140)

* fixes some action button issues

* murder

* thanks autocopy

* morph and xenos

* Update code/datums/action.dm

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

---------

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
This commit is contained in:
GDN
2024-04-22 15:33:07 -05:00
committed by GitHub
parent 71bc06cd4e
commit 831776b40d
5 changed files with 14 additions and 4 deletions
@@ -32,6 +32,9 @@ Updates the spell's actions on use as well, so they know when they can or can't
..()
if(plasma_cost)
name = "[name] ([plasma_cost])"
action.name = name
action.desc = desc
action.UpdateButtons()
/datum/spell/alien_spell/write_custom_logs(list/targets, mob/user)
user.create_log(ATTACK_LOG, "Cast the spell [name]")