Open akimakinai opened 2 months ago
Forgetting StateScoped(GameState::Playing) somewhere in game logic can be a hard-to-find bug. It would be helpful to have a restriction lint for missing StateScoped component in Command::spawn (or successive insert chains).
StateScoped(GameState::Playing)
StateScoped
Command::spawn
insert
Forgetting
StateScoped(GameState::Playing)
somewhere in game logic can be a hard-to-find bug. It would be helpful to have a restriction lint for missingStateScoped
component inCommand::spawn
(or successiveinsert
chains).