Commit f32dc0c4 authored by mercury233's avatar mercury233

fix

parent 287dd26c
...@@ -1057,7 +1057,7 @@ int32_t scriptlib::duel_confirm_cards(lua_State *L) { ...@@ -1057,7 +1057,7 @@ int32_t scriptlib::duel_confirm_cards(lua_State *L) {
pduel = pgroup->pduel; pduel = pgroup->pduel;
} else } else
return luaL_error(L, "Parameter %d should be \"Card\" or \"Group\".", 2); return luaL_error(L, "Parameter %d should be \"Card\" or \"Group\".", 2);
uint8 skip_panel = 0; uint8_t skip_panel = 0;
if(lua_gettop(L) >= 3) if(lua_gettop(L) >= 3)
skip_panel = lua_toboolean(L, 3); skip_panel = lua_toboolean(L, 3);
pduel->write_buffer8(MSG_CONFIRM_CARDS); pduel->write_buffer8(MSG_CONFIRM_CARDS);
......
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