Skip to content
Snippets Groups Projects
Commit 4b9c8371 authored by ReformCopyright's avatar ReformCopyright
Browse files

Clean up and simplify epilogue code

* Make loadEpilogueData() take, and the player attribute of created epilogue objects be, a player object reference instead of an index.

* Use .forEach(), .some(), and .every() to shorten code and avoid dereferencing undefined.

* Implement alsoPlaying and playerStartingLayers condition attributes.

* No need to figure out who won, only whether HUMAN_PLAYER won or not.

* Whitespace fixes.
parent 33969b22
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment