]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/client/hud.qc
Correct respawn time message when eaten
[voretournament/voretournament.git] / data / qcsrc / client / hud.qc
index cd3922623a5dd6e65fe5673709b5255cef49f72c..4615381e30e56eaa36543680f3aea83af007e8c2 100644 (file)
@@ -1650,7 +1650,9 @@ void Sbar_DrawScoreboard()
                {\r
                        // a negative number means we are awaiting respawn, time value is still the same\r
                        respawn_time *= -1; // remove mark now that we checked it\r
-                       if(time >= respawn_time) // don't show a negative value while the server is respawning the player (lag)\r
+                       if(getstati(STAT_VORE_EATEN))\r
+                               str = strcat("^1Cannot respawn while in the stomach");\r
+                       else if(time >= respawn_time) // don't show a negative value while the server is respawning the player (lag)\r
                                str = strcat("^1Respawning...");\r
                        else\r
                                str = strcat("^1Respawning in ^3", ftos_decimals(respawn_time - time, 2), "^1 seconds...");\r