mgr: added yb_first_human_restart (resolves #713)

When bots are playing on dedicated server and first human joins a team the game will be restarted if yb_first_human_restart is higher than zero.

Co-Authored-By: Max <161382234+dyspose@users.noreply.github.com>
This commit is contained in:
jeefo 2025-08-05 12:32:58 +03:00
commit 590471d94c
No known key found for this signature in database
GPG key ID: D696786B81B667C8
6 changed files with 47 additions and 3 deletions

View file

@ -33,7 +33,8 @@ CR_DECLARE_SCOPED_ENUM (NetMsg,
ItemStatus = 22,
ScoreInfo = 23,
ScoreAttrib = 24,
SayText = 25
SayText = 25,
ResetHUD = 26
)
// vgui menus (since latest steam updates is obsolete, but left for old cs)
@ -124,6 +125,7 @@ private:
void netMsgFlashBat ();
void netMsgScoreInfo ();
void netMsgScoreAttrib ();
void netMsgResetHUD ();
private:
Bot *pickBot (int32_t index);