Commit 7842d7f8 authored by Chunchi Che's avatar Chunchi Che

update duel start service

parent 44db29b2
import { ygopro } from "../../api/ocgcore/idl/ocgcore"; import { ygopro } from "../../api/ocgcore/idl/ocgcore";
import { AppDispatch } from "../../store"; import { AppDispatch } from "../../store";
import { infoInit, setSelfType } from "../../reducers/duel/mod"; import { infoInit, setSelfType, initMonsters } from "../../reducers/duel/mod";
export default ( export default (
start: ygopro.StocGameMessage.MsgStart, start: ygopro.StocGameMessage.MsgStart,
...@@ -27,4 +27,6 @@ export default ( ...@@ -27,4 +27,6 @@ export default (
}, },
]) ])
); );
dispatch(initMonsters(0));
dispatch(initMonsters(1));
}; };
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