]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/ent_cs.qh
Merge branch 'terencehill/playerlist_layout' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / ent_cs.qh
index d9608ebfb896792aa80f48296b9fc26efc5c5a29..aa689e59d707684eda169334528faf49cce8eefe 100644 (file)
@@ -130,7 +130,7 @@ REGISTER_NET_TEMP(CLIENT_ENTCS)
        string entcs_GetName(int i)
        {
                entity e = entcs_receiver(i);
-               return ColorTranslateRGB(e ? e.netname : "");
+               return e ? ColorTranslateRGB(e.netname) : "";
        }
 
     /**