X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=data%2Fqcsrc%2Fclient%2Fhud.qc;fp=data%2Fqcsrc%2Fclient%2Fhud.qc;h=4615381e30e56eaa36543680f3aea83af007e8c2;hb=51df5b4148ba42a21204c91e5b094e7b86c49612;hp=cd3922623a5dd6e65fe5673709b5255cef49f72c;hpb=a1ffdf1ad8402090c9293ec9bbe91411d4986432;p=voretournament%2Fvoretournament.git diff --git a/data/qcsrc/client/hud.qc b/data/qcsrc/client/hud.qc index cd392262..4615381e 100644 --- a/data/qcsrc/client/hud.qc +++ b/data/qcsrc/client/hud.qc @@ -1650,7 +1650,9 @@ void Sbar_DrawScoreboard() { // a negative number means we are awaiting respawn, time value is still the same respawn_time *= -1; // remove mark now that we checked it - if(time >= respawn_time) // don't show a negative value while the server is respawning the player (lag) + if(getstati(STAT_VORE_EATEN)) + str = strcat("^1Cannot respawn while in the stomach"); + else if(time >= respawn_time) // don't show a negative value while the server is respawning the player (lag) str = strcat("^1Respawning..."); else str = strcat("^1Respawning in ^3", ftos_decimals(respawn_time - time, 2), "^1 seconds...");