onimp / oni_multiplayer

Oxygen Not Included multiplayer mod. Work in progress.
MIT License
225 stars 17 forks source link

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

Closed zuev93 closed 10 months ago

zuev93 commented 10 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