[MIRROR] Fix megafauna's celebrate_kill() not printing the victim's name [MDB IGNORE] (#23558)

* Fix megafauna's `celebrate_kill()` not printing the victim's name (#78160)

## About The Pull Request
One symbol fix. `celebrate_kill()` expects a `mob/living` to be passed
into it, but it was called without arguments, I fixed that
Before:

![wrongtext](https://github.com/tgstation/tgstation/assets/113535457/d06c203e-1a6b-4eec-93d6-685a1adb4b86)
After:

![correcttext](https://github.com/tgstation/tgstation/assets/113535457/0283bfcd-14de-4fb8-b53e-619b4b95b0d0)
## Why It's Good For The Game
It's a bugfix
## Changelog
🆑
fix: Megafauna now correctly prints the victim's name after a kill
/🆑

* Fix megafauna's `celebrate_kill()` not printing the victim's name

---------

Co-authored-by: cnleth <113535457+cnleth@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-09-06 21:09:18 -04:00
committed by GitHub
co-authored by cnleth
parent a1389a5116
commit 465b16f20f
@@ -132,7 +132,7 @@
/mob/living/simple_animal/hostile/megafauna/proc/devour(mob/living/L)
if(!L || L.has_status_effect(/datum/status_effect/gutted))
return FALSE
celebrate_kill()
celebrate_kill(L)
if(!is_station_level(z) || client) //NPC monsters won't heal while on station
adjustBruteLoss(-L.maxHealth/2)
L.investigate_log("has been devoured by [src].", INVESTIGATE_DEATHS)