onimp / oni_multiplayer

Oxygen Not Included multiplayer mod. Work in progress.
MIT License
218 stars 18 forks source link

#13 Send and execute command upon state enter transition. #325

Closed zuev93 closed 7 months ago

zuev93 commented 7 months ago

In order to avoid cycle loops (enter -> wait -> command -> enter -> wait -> ....) introduced new state ContinuationState which is a copy of original enter state. Now the flow looks like: enter -> wait -> command -> continuation