anotherstatemanager
Advanced tools
Comparing version 1.0.18 to 1.0.19
{ | ||
"name": "anotherstatemanager", | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"description": "Very flexible, performant, simple state management for managing a lot of rapid changes and various scenarios. Great for low overhead event management of game inputs and data streams.", | ||
@@ -5,0 +5,0 @@ "main": "StateManager.js", |
@@ -238,3 +238,3 @@ import ObjectListener from 'objectlisteners' | ||
if(key) { | ||
if(!key in this.triggers) { | ||
if(!this.triggers[key]) { | ||
this.triggers[key] = []; | ||
@@ -241,0 +241,0 @@ } |
65121