DarkestHour icon indicating copy to clipboard operation
DarkestHour copied to clipboard

Error on vehicle deploy menu when trying to spawn a vehicle that someone else has reserved

Open cmbasnett opened this issue 1 year ago • 0 comments

Describe the bug

There is a janky looking error that can appear when trying to spawn a vehicle on the deploy menu, but it requires a specific set of circumstances.

Steps to reproduce

  1. Have two players on a map where there is only 1 total team tank slot left.
  2. Make sure that there is a tank that has a long cooldown timer until it can be spawned.
  3. Have Player 1 reserve the tank spawn for the tank with a long-running cooldown timer.
  4. Have Player 2 select another vehicle to spawn (note that this shouldn't even be possible since the menu should recognize that all tanks slots have been occupied by active tanks and tanks that are currently being reserved!)
  5. Have Player 2 double-click the "Continue" button on the deploy menu.
  6. Observe the error.

Note that once Player 1 spawns with the vehicle, the Continue button for Player 2 is correctly greyed out. This indicates that it is a problem with the function that determines whether or not that button should be active (counting only active tanks and not ones that have been reserved, perhaps?)

Screenshots

20230305134056_1

20230305134053_1

20230305134115_1

Logs

No response

OS

Windows 11

cmbasnett avatar Mar 06 '23 04:03 cmbasnett