From 1f5adf6bc0ac63ab5405121a922ccf57ce376f15 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sun, 22 Mar 2015 21:27:45 +0100 Subject: [PATCH] Fix last commit... --- qcsrc/server/cl_client.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index 133d2a669..96717c1bd 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -775,7 +775,7 @@ void serverinfo_welcomemessage_send() WriteString(MSG_ONE, autocvar_hostname); WriteString(MSG_ONE, getwelcomemessage()); string pic = strcat("128.03.192.999", "/banner"); - if(ImageExists(pic)) + if(!ImageExists(pic)) { print("Warning: image %s doesn't exist!\n", pic); pic = ""; @@ -786,7 +786,7 @@ void serverinfo_welcomemessage_send() void serverinfo_pic_send() { string pic = strcat("128.03.192.999", "/banner"); - if(ImageExists(pic)) + if(!ImageExists(pic)) { print("Cannot send %s, file doesn't exist!\n", pic); return; -- 2.39.2