commit 08eec4ab66ee6f4db95de2b6b066099f4abb85e7
parent 59323bf11bfb743d7984196bed864b135eec476f
Author: parazyd <parazyd@dyne.org>
Date: Sun, 25 Feb 2018 12:05:49 +0100
Fix toilet flushing.
Diffstat:
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/act-i/Toilet1.sh b/act-i/Toilet1.sh
@@ -6,7 +6,7 @@ specific_toilet1() {
_msg "You flush the $item down the toilet."
rm "$inventory/$item"
rm -f "$toilet1/toilet/Vomit"
- printf 1 "$toilet1/toilet/Water"
+ printf 1 > "$toilet1/toilet/Water"
;;
Black_dildo)
diff --git a/act-i/Toilet2.sh b/act-i/Toilet2.sh
@@ -5,8 +5,7 @@ specific_toilet2() {
Plate_of_Bolognese_Sauce|Used_condom)
_msg "You flush the $item down the toilet."
rm "$inventory/$item"
- rm -f "$toilet1/toilet/Vomit"
- printf 1 "$toilet1/toilet/Water"
+ printf 1 > "$toilet2/toilet/Water"
;;
Smartphone)