Skip to content

Commit

Permalink
Fix survivor progress calculation to use raw value for accurate game …
Browse files Browse the repository at this point in the history
…info synchronization
  • Loading branch information
altair-sossai committed Nov 11, 2024
1 parent ec79e9c commit 2597cca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified addons/sourcemod/plugins/optional/l4d2_gameinfo_sync.smx
Binary file not shown.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/l4d2_gameinfo_sync.sp
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ void SendPlayers()
}

player.SetBool("isPlayerAlive", isPlayerAlive);
player.SetFloat("progress", g_fSurvivorProgress[client] / 100.0);
player.SetFloat("progress", g_fSurvivorProgress[client]);

survivors.Push(player);
}
Expand Down

0 comments on commit 2597cca

Please sign in to comment.