Commit db06c9ea authored by mercury233's avatar mercury233

t pushMerge branch 'master' of https://github.com/Fluorohydride/ygopro-core

parents f10091b7 711991d4
...@@ -1802,6 +1802,8 @@ int32 field::get_draw_count(uint8 playerid) { ...@@ -1802,6 +1802,8 @@ int32 field::get_draw_count(uint8 playerid) {
int32 count = player[playerid].draw_count; int32 count = player[playerid].draw_count;
for(int32 i = 0; i < eset.size(); ++i) { for(int32 i = 0; i < eset.size(); ++i) {
int32 c = eset[i]->get_value(); int32 c = eset[i]->get_value();
if(c == 0)
return 0;
if(c > count) if(c > count)
count = c; count = c;
} }
......
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