From d2bb4ebe9a9f38b5506f8a46ea0f7a7b3b82fc0a Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Tue, 14 Sep 2021 23:46:20 +0100 Subject: [PATCH] error catch --- lgsm/functions/alert.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lgsm/functions/alert.sh b/lgsm/functions/alert.sh index 0124f117d..d3762b0a0 100755 --- a/lgsm/functions/alert.sh +++ b/lgsm/functions/alert.sh @@ -126,6 +126,11 @@ else fi fi +if [ -z "${alertplayers}" ]; then + alertplayerstitle="Current Players" + alertplayers="Unknown" +fi + if [ -n "${gdmap}" ]; then alertmap="${gdmap}" else