Skip to content

Commit 62392cb

Browse files
Fixes infinite soap mouth (ParadiseSS13#31835)
1 parent 32f4875 commit 62392cb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

code/game/objects/items/soap.dm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/// How many times a Drask has chewed on this bar of soap.
1717
var/times_eaten = 0
1818
/// The maximum amount of bites before the soap is depleted.
19-
var/max_bites = 30
19+
var/max_bites = 30
2020

2121
/obj/item/soap/Initialize(mapload)
2222
. = ..()
@@ -41,7 +41,7 @@
4141
SPAN_WARNING("[user] starts washing [target == user ? "[target.p_their()] own" : "[target]'s"] mouth out with [src]!"),
4242
SPAN_NOTICE("You start washing [target == user ? "your own" : "[target]'s"] mouth out with [src]!")
4343
)
44-
if(do_after(user, cleanspeed, target = target))
44+
if(do_after_once(user, cleanspeed, target = target))
4545
user.visible_message(
4646
SPAN_WARNING("[user] washes [target == user ? "[target.p_their()] own" : "[target]'s"] mouth out with [src]!"),
4747
SPAN_WARNING("You wash [target == user ? "your own" : "[target]'s"] mouth out with [src]!")

0 commit comments

Comments
 (0)