Commit b33e18fc authored by DailyShana's avatar DailyShana

remove old behavior of Duel.AnnounceCard

parent 142fa918
...@@ -3627,9 +3627,6 @@ int32 scriptlib::duel_announce_card(lua_State * L) { ...@@ -3627,9 +3627,6 @@ int32 scriptlib::duel_announce_card(lua_State * L) {
pduel->game_field->core.select_options.clear(); pduel->game_field->core.select_options.clear();
if(lua_gettop(L) == 1) { if(lua_gettop(L) == 1) {
pduel->game_field->core.select_options.push_back(TRUE); pduel->game_field->core.select_options.push_back(TRUE);
} else if(lua_gettop(L) == 2) {
pduel->game_field->core.select_options.push_back((uint32)lua_tointeger(L, 2));
pduel->game_field->core.select_options.push_back(OPCODE_ISTYPE);
} else { } else {
for(int32 i = 2; i <= lua_gettop(L); ++i) for(int32 i = 2; i <= lua_gettop(L); ++i)
pduel->game_field->core.select_options.push_back((uint32)lua_tointeger(L, i)); pduel->game_field->core.select_options.push_back((uint32)lua_tointeger(L, i));
......
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