From 7747c84b719a01d3324957c406343ac3370134f0 Mon Sep 17 00:00:00 2001
From: Ghommie <42542238+Ghommie@users.noreply.github.com>
Date: Sat, 21 Mar 2020 23:23:31 +0100
Subject: [PATCH] Two runtimes, one fix.
---
code/modules/paperwork/pen.dm | 4 ++--
code/modules/pool/pool_main.dm | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/code/modules/paperwork/pen.dm b/code/modules/paperwork/pen.dm
index 2b09954f08..ca5219375f 100644
--- a/code/modules/paperwork/pen.dm
+++ b/code/modules/paperwork/pen.dm
@@ -194,7 +194,7 @@
w_class = initial(w_class)
name = initial(name)
hitsound = initial(hitsound)
- embedding = embedding.setRating(embed_chance = EMBED_CHANCE)
+ embedding = null
throwforce = initial(throwforce)
playsound(user, 'sound/weapons/saberoff.ogg', 5, 1)
to_chat(user, "[src] can now be concealed.")
@@ -204,7 +204,7 @@
w_class = WEIGHT_CLASS_NORMAL
name = "energy dagger"
hitsound = 'sound/weapons/blade1.ogg'
- embedding = list("embed_chance" = 100, "embedded_fall_chance" = 0)//rule of cool
+ embedding = getEmbeddingBehavior(embed_chance = 100, embedded_fall_chance = 0) //rule of cool
throwforce = 35
playsound(user, 'sound/weapons/saberon.ogg', 5, 1)
to_chat(user, "[src] is now active.")
diff --git a/code/modules/pool/pool_main.dm b/code/modules/pool/pool_main.dm
index 40aac0e88d..b45c0f36a2 100644
--- a/code/modules/pool/pool_main.dm
+++ b/code/modules/pool/pool_main.dm
@@ -173,7 +173,7 @@
if(istype(W, /obj/item/mop) && filled)
W.reagents.add_reagent("water", 5)
to_chat(user, "You wet [W] in [src].")
- playsound(loc, 'sound/effects/slosh.ogg', 25, TRUE)
+ playsound(src, 'sound/effects/slosh.ogg', 25, TRUE)
else
return ..()