Commit 80b99317 authored by nanahira's avatar nanahira

fix

parent ef5c6c46
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
//2pick //2pick
int32 scriptlib::duel_save_pick_deck(lua_State * L) { int32 scriptlib::duel_save_pick_deck(lua_State * L) {
check_param_count(L, 2); check_param_count(L, 2);
check_param(L, PARAM_TYPE_GROUP, 2) check_param(L, PARAM_TYPE_GROUP, 2);
int32 playerid = lua_tonumberint(L, 1); int32 playerid = lua_tonumberint(L, 1);
if(playerid != 0 && playerid != 1) if(playerid != 0 && playerid != 1)
return 0; return 0;
......
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