Commit 11838425 authored by Qi LI's avatar Qi LI
Browse files

return 0 as total score when there is no lance

parent a23e6484
......@@ -14,6 +14,7 @@ public class ScoreTable {
}
public int getCurrentScore() {
if (frames.size() == 0) return 0;
return frames.get(frames.size() - 1).getScore();
}
......
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