Commit 8ef054d3 authored by Chunchi Che's avatar Chunchi Che

update start service

parent 373c746c
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, initMonsters } from "../../reducers/duel/mod"; import { infoInit, setSelfType, initMonsters, initMagics } from "../../reducers/duel/mod";
export default ( export default (
start: ygopro.StocGameMessage.MsgStart, start: ygopro.StocGameMessage.MsgStart,
...@@ -29,4 +29,6 @@ export default ( ...@@ -29,4 +29,6 @@ export default (
); );
dispatch(initMonsters(0)); dispatch(initMonsters(0));
dispatch(initMonsters(1)); dispatch(initMonsters(1));
dispatch(initMagics(0));
dispatch(initMagics(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