momentum-mod / game

Momentum Mod - Standalone Source Movement Speedrunning (READ README)
https://momentum-mod.org
Other
514 stars 207 forks source link

watching a replay returns dropped weapons #1537

Open Shegetz opened 2 years ago

Shegetz commented 2 years ago

Describe the bug

When exiting a replay the weapons dropped by a player are returned to them

How To Reproduce

  1. join a bhop or surf map
  2. drop any weapons
  3. enter a replay
  4. exit the replay
  5. observe the weapons are back

Expected Behavior

when exiting a replay a play that has dropped their weapons should not have them returned. Players do not want to have to repeatedly drop them

Operating System

Windows 10

Renderer

DX11

Gocnak commented 2 years ago

Yeah it should save weapon state upon entering replay. Could maybe modify the SaveState_t struct.