From 60321b58f23b8d4491256910e9f52a0575a69f35 Mon Sep 17 00:00:00 2001 From: epoch Date: Mon, 24 Feb 2020 05:18:55 -0600 Subject: clicking on a door that is moving will not break it anymore --- share/hackvr/examples/dungen/dunexplore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/hackvr/examples/dungen') 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} ( -- cgit v1.2.3