summaryrefslogtreecommitdiff
path: root/share/hackvr/examples
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2020-02-24 05:18:55 -0600
committerepoch <epoch@hacking.allowed.org>2020-02-24 05:18:55 -0600
commit60321b58f23b8d4491256910e9f52a0575a69f35 (patch)
tree1a19d18eeace12b3d5ca2c210fb8f12d0982c726 /share/hackvr/examples
parent299f13b751b438f5935f69af47faf546c7f01093 (diff)
downloadhackvr-60321b58f23b8d4491256910e9f52a0575a69f35.tar.gz
hackvr-60321b58f23b8d4491256910e9f52a0575a69f35.zip
clicking on a door that is moving will not break it anymore
Diffstat (limited to 'share/hackvr/examples')
-rwxr-xr-xshare/hackvr/examples/dungen/dunexplore.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hackvr/examples/dungen/dunexplore.sh b/share/hackvr/examples/dungen/dunexplore.sh
index b85ea84..2a7fb0c 100755
--- a/share/hackvr/examples/dungen/dunexplore.sh
+++ b/share/hackvr/examples/dungen/dunexplore.sh
@@ -19,7 +19,7 @@ while read group action target;do
tmp2=$(printf "%s\n" "${target}" | sed 's/_open/_close/')
printf "%s renamegroup %s %s\n" ${tmp} ${tmp} ${tmp2}
) &
- else
+ elif printf "%s\n" "${target}" | grep ^door_close;then
tmp=$(printf "%s\n" "${target}" | sed 's/_close/_OPENING/')
printf "%s renamegroup %s %s\n" ${target} ${target} ${tmp}
(