Fix admin pie smite (#4284)

## About The Pull Request

The pie smite was getting the splat component on the pie and then
calling the splat proc directly, which is kind of gross but also it was
passing the wrong value for one of the arguments (it passed the splat
component for the first argument when it should have been passing the
pie) -- changed the code to instead send the signal that triggers the
proc cause that's cleaner and also makes it actually work. Also move the
file to the bubber folder cause why not

## Why It's Good For The Game

Fixes #4282 

## Proof Of Testing
<details>
<summary>Screenshots/Videos</summary>
<img width="1524" height="885" alt="image"
src="https://github.com/user-attachments/assets/1ab337d5-d7b9-4880-ad4e-dee452d2213a"
/>

</details>

## Changelog
🆑
fix: fixed admin pie smite not working
/🆑
This commit is contained in:
Roxy
2025-07-21 18:00:20 -04:00
committed by GitHub
parent 418ad5fa87
commit 1fed23f77a
2 changed files with 2 additions and 3 deletions
@@ -5,5 +5,4 @@
/datum/smite/pie/effect(client/user, mob/living/target)
. = ..()
var/obj/item/food/pie/cream/nostun/creamy = new(get_turf(target))
var/datum/component/splat/splat_handler = creamy.GetComponent(/datum/component/splat)
splat_handler.splat(splat_handler, target)
SEND_SIGNAL(creamy, COMSIG_MOVABLE_IMPACT, target)
+1 -1
View File
@@ -7199,7 +7199,6 @@
#include "modular_skyrat\modules\admin\code\loud_say.dm"
#include "modular_skyrat\modules\admin\code\player_ranks.dm"
#include "modular_skyrat\modules\admin\code\sooc.dm"
#include "modular_skyrat\modules\admin\code\smites\pie.dm"
#include "modular_skyrat\modules\advanced_engineering\code\adv_engineering.dm"
#include "modular_skyrat\modules\advanced_shuttles\code\closet.dm"
#include "modular_skyrat\modules\advanced_shuttles\code\computer.dm"
@@ -9076,6 +9075,7 @@
#include "modular_zubbers\code\game\turfs\open\openspace.dm"
#include "modular_zubbers\code\game\turfs\open\sand.dm"
#include "modular_zubbers\code\modules\_defines.dm"
#include "modular_zubbers\code\modules\admin\smites\pie.dm"
#include "modular_zubbers\code\modules\admin\verbs\admin.dm"
#include "modular_zubbers\code\modules\admin\verbs\debug.dm"
#include "modular_zubbers\code\modules\alt_anomaly_refinery\anomaly_refinery.dm"