]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/g_damage.qc
Fixes the invincible portion of #2422 "target_items issues"
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_damage.qc
index fc7962599d10375918d0b946e33e0c600152cff9..ac38e645b3e994ea2c5292fe5e3bfc5811d8e8dd 100644 (file)
@@ -87,7 +87,7 @@ string AppendItemcodes(string s, entity player)
        }
        if(time < STAT(STRENGTH_FINISHED, player))
                s = strcat(s, "S");
-       if(time < player.invincible_finished)
+       if(time < STAT(INVINCIBLE_FINISHED, player))
                s = strcat(s, "I");
        if(PHYS_INPUT_BUTTON_CHAT(player))
                s = strcat(s, "T");