lib/lomic/GameState.rb in lomic-0.0.2 vs lib/lomic/GameState.rb in lomic-0.1.0

- old
+ new

@@ -25,11 +25,11 @@ def addRule(rule) @rules.push(rule) end - def emit(event_name) - @em.run(event_name,@globals.rules) + def run(event_name,socket) + @em.run(event_name,@globals.rules,socket) end end end # module