From 85f938173ddab839a7fad4f0aef7e656faaff985 Mon Sep 17 00:00:00 2001 From: Marco Realacci Date: Wed, 31 Jan 2024 13:01:37 +0100 Subject: [PATCH] Fix bot giving error in any question --- Bot/Modules/OttoLinux/BotGame.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bot/Modules/OttoLinux/BotGame.cs b/Bot/Modules/OttoLinux/BotGame.cs index 28da7e3..13e250c 100644 --- a/Bot/Modules/OttoLinux/BotGame.cs +++ b/Bot/Modules/OttoLinux/BotGame.cs @@ -420,7 +420,7 @@ namespace SoUnBot.Modules.OttoLinux }; string quest = qst.Quest; - if (qst.Image != "") + if (!string.IsNullOrEmpty(qst.Image)) { try {