From 13fa8d883fa1fc4d4de9fbba6913aa91056b160f Mon Sep 17 00:00:00 2001 From: distributivgesetz Date: Tue, 2 Jan 2024 22:37:48 +0100 Subject: [PATCH] Fix duplicate proc arguments (#80709) this is important for getting /tg/station to compile in opendream, because they raise an error on duplicate arguments --- code/modules/mob/living/basic/ruin_defender/flesh.dm | 2 +- code/modules/mob/living/silicon/damage_procs.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/basic/ruin_defender/flesh.dm b/code/modules/mob/living/basic/ruin_defender/flesh.dm index 85f48a8f672..2a1948172cf 100644 --- a/code/modules/mob/living/basic/ruin_defender/flesh.dm +++ b/code/modules/mob/living/basic/ruin_defender/flesh.dm @@ -130,7 +130,7 @@ RegisterSignal(part.owner, COMSIG_LIVING_DEATH, PROC_REF(owner_died)) RegisterSignal(part.owner, COMSIG_LIVING_ELECTROCUTE_ACT, PROC_REF(owner_shocked)) //detach if we are shocked, not beneficial for the host but hey its a sideeffect -/mob/living/basic/living_limb_flesh/proc/owner_shocked(datum/source, shock_damage, source, siemens_coeff, flags) +/mob/living/basic/living_limb_flesh/proc/owner_shocked(datum/source, shock_damage, shock_source, siemens_coeff, flags) SIGNAL_HANDLER if(shock_damage < 10) return diff --git a/code/modules/mob/living/silicon/damage_procs.dm b/code/modules/mob/living/silicon/damage_procs.dm index c766ac080d1..58e5a244eaf 100644 --- a/code/modules/mob/living/silicon/damage_procs.dm +++ b/code/modules/mob/living/silicon/damage_procs.dm @@ -25,7 +25,7 @@ return FALSE -/mob/living/silicon/setOxyLoss(amount, updating_health = TRUE, forced = FALSE, forced = FALSE, required_biotype) +/mob/living/silicon/setOxyLoss(amount, updating_health = TRUE, forced = FALSE, required_biotype) if(isAI(src)) //ditto return ..()