From: terencehill Date: Sun, 22 Mar 2015 20:27:45 +0000 (+0100) Subject: Fix last commit... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1f5adf6bc0ac63ab5405121a922ccf57ce376f15;p=xonotic%2Fxonotic-data.pk3dir.git Fix last commit... --- 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;