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