]> git.lizzy.rs Git - dragonblocks_alpha.git/blob - build/debug_loop.sh
Rework structure
[dragonblocks_alpha.git] / build / debug_loop.sh
1 #!/bin/bash
2 COMMAND="./debug.sh"
3
4 if [[ $1 == "terrain" ]]; then
5         COMMAND="./debug_terrain.sh"
6 fi
7
8 while true; do
9         if ! $COMMAND; then
10                 read
11         fi
12 done