Skip to content

Commit

Permalink
Add isInReady state to round synchronization command
Browse files Browse the repository at this point in the history
  • Loading branch information
altair-sossai committed Nov 12, 2024
1 parent 887cdec commit edee97d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file modified addons/sourcemod/plugins/optional/l4d2_gameinfo_sync.smx
Binary file not shown.
1 change: 1 addition & 0 deletions addons/sourcemod/scripting/l4d2_gameinfo_sync.sp
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ void SendRound()
g_iTankPercent = GetStoredTankPercent();
g_iWitchPercent = GetStoredWitchPercent();

command.SetBool("isInReady", IsInReady());
command.SetBool("areTeamsFlipped", GameRules_GetProp("m_bAreTeamsFlipped") ? true : false);
command.SetInt("maxChapterProgressPoints", L4D_GetVersusMaxCompletionScore());
command.SetFloat("tankPercent", g_iTankPercent / 100.0);
Expand Down

0 comments on commit edee97d

Please sign in to comment.