Commit fa91a3d9 authored by nanahira's avatar nanahira

fix

parent b82fbccf
...@@ -146,7 +146,6 @@ class YGOProMessagesHelper { ...@@ -146,7 +146,6 @@ class YGOProMessagesHelper {
} }
let { direction, proto } = this.getDirectionAndProto(protostr); let { direction, proto } = this.getDirectionAndProto(protostr);
synchronous = synchronous || false; synchronous = synchronous || false;
priority = priority || 1;
const handlerObj = new Handler(handler, synchronous); const handlerObj = new Handler(handler, synchronous);
let handlerCollection = this.handlers[direction][priority]; let handlerCollection = this.handlers[direction][priority];
const translatedProto = this.translateProto(proto, direction); const translatedProto = this.translateProto(proto, direction);
......
...@@ -181,7 +181,6 @@ export class YGOProMessagesHelper { ...@@ -181,7 +181,6 @@ export class YGOProMessagesHelper {
proto proto
} = this.getDirectionAndProto(protostr); } = this.getDirectionAndProto(protostr);
synchronous = synchronous || false; synchronous = synchronous || false;
priority = priority || 1;
const handlerObj = new Handler(handler, synchronous); const handlerObj = new Handler(handler, synchronous);
let handlerCollection: Map<number, Handler[]> = this.handlers[direction][priority]; let handlerCollection: Map<number, Handler[]> = this.handlers[direction][priority];
const translatedProto = this.translateProto(proto, direction); const translatedProto = this.translateProto(proto, direction);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment