When switching a player with selectPlayer the new unit doesn't have a throwable item selected.
This could cause some problems when respawning players with custom scripts.
Description
Description
Details
Details
- Legacy ID
- 4045847359
- Severity
- None
- Resolution
- Fixed
- Reproducibility
- Always
- Category
- Scripting
Steps To Reproduce
In the editor:
- Place a player unit
- Place a second unit and call it "a"
- Start the preview
- Open the Debug Console and enter "changePlayer a"
- The throwable item indicator is empty and you can't throw anything till you cycle to the next item