Skip to content
Snippets Groups Projects
Commit 02c9a9d7 authored by svornost's avatar svornost
Browse files

Make TwineEvent deserialize properly, instead of uninitializing itself after it loads

parent b385616d
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,9 @@
App.Events.TwineEvent = class TwineEvent extends App.Events.BaseEvent {
constructor(actors, params) {
super(actors, params);
this.params.initialized = false;
if (!params) {
this.params.initialized = false;
}
}
/** Initialize this TwineEvent Wrapper for the given twine passage
......
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