]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
wrong calculation fixed
authorDebugger <pyngot@hotmail.com>
Fri, 3 May 2013 13:57:11 +0000 (15:57 +0200)
committerDebugger <pyngot@hotmail.com>
Fri, 3 May 2013 13:57:11 +0000 (15:57 +0200)
qcsrc/client/scoreboard.qc

index 77b3538c7e5fabe1ae810068bd0bbc6212d7efab..00a83383b2adc3adb469ec5f5dc97f64647fc6ca 100644 (file)
@@ -589,7 +589,7 @@ string HUD_GetField(entity pl, float field)
                        
                case SP_NET:
                        f = pl.(scores[SP_KILLS]);
-                       f -= pl.(scores[SP_SUICIDES]);
+                       f -= pl.(scores[SP_DEATHS]);
 
                        if(f > 0) {
                                hud_field_rgb = '0 1 0';