Fix bug in balcony. The config should be sourced first. - dotg - Day Of The GrP… | |
git clone git://bitreich.org/dotg git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d… | |
Log | |
Files | |
Refs | |
Tags | |
--- | |
commit 1ea8849d4e5bfdeef00797b811388b74c67fe73c | |
parent 59bbf23e67d5b340f0b6e0b314518b7bfef38591 | |
Author: parazyd <[email protected]> | |
Date: Sun, 25 Feb 2018 15:11:25 +0100 | |
Fix bug in balcony. The config should be sourced first. | |
Diffstat: | |
M act-i/Balcony.dcgi | 8 ++++---- | |
1 file changed, 4 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/act-i/Balcony.dcgi b/act-i/Balcony.dcgi | |
@@ -5,10 +5,6 @@ | |
# person throw smelly cheese into a kitchen sink. So we made it possible to go | |
# the French way. See history for how often this happened. We like the French. | |
# | |
-if [ -n "$2" ] && [ "$2" = "isfrench" ]; then | |
- echo 1 > "$inventory/.isfrench" | |
-fi | |
- | |
. config | |
echo Balcony > $savegame/room | |
. functions | |
@@ -16,6 +12,10 @@ echo Balcony > $savegame/room | |
map_balcony | |
+if [ -n "$2" ] && [ "$2" = "isfrench" ]; then | |
+ echo 1 > "$inventory/.isfrench" | |
+fi | |
+ | |
cat <<EOM | |
## THE BALCONY (BAL) | |