Remove crosshair network from (C)NEOPlayer datatable, simplify caching - #2053
Remove crosshair network from (C)NEOPlayer datatable, simplify caching#2053nullsystem wants to merge 3 commits into
Conversation
Crosshair is already now networked in player resource, so no longer needed to be networked from server to client in (C)NEOPlayer and turned into a simple array server-side. The networked crosshair caching also simplified in client-side crosshair HUD.
63b8211 to
c819142
Compare
|
Found a bug where the crosshair gets stale. I am moving fast this morning but I was able to cobble the repro together @nullsystem. As for a fix, I think you just need to clear the cached compare string Bug reproduction stepsTwo scripts
Launch options: Procedure
Correct: crosshair disappears. Verified on Video demontre_bug_pr_2053_smol.mp4 |
|
@sunmachine Moved the string copy to the later if block to fix it: f8f5bbd |
Description
Crosshair is already now networked in player resource, so no longer needed to be networked from server to client in (C)NEOPlayer and turned into a simple array server-side. The networked crosshair caching also simplified in client-side crosshair HUD.
Toolchain
Linked Issues