Despawn player ship when exiting GameState::Playing #21

Closed
opened 2025-08-14 09:17:33 -07:00 by robert · 0 comments
Owner

After getting a game-over, the player can return to the main menu... but the ship stays on the board. When starting a new game, a second ship is added. This causes lib.rs:input_ship_rotation(...) to panic when it finds more than one ship.

After getting a game-over, the player can return to the main menu... but the ship stays on the board. When starting a new game, a second ship is added. This causes `lib.rs:input_ship_rotation(...)` to panic when it finds more than one ship.
robert added the bug label 2025-08-14 09:17:33 -07:00
robert added this to the Finish the Game project 2025-08-14 09:17:33 -07:00
robert moved this to To Do in Finish the Game on 2025-08-14 09:17:36 -07:00
robert moved this to In Progress in Finish the Game on 2025-08-14 12:39:13 -07:00
robert moved this to Closed in Finish the Game on 2025-08-14 16:21:40 -07:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: robert/another-asteroids#21