diff --git a/app/src/main/java/org/ntlab/irisclient/GameMasterActivity.java b/app/src/main/java/org/ntlab/irisclient/GameMasterActivity.java index 010d4ed..bd5bdb3 100644 --- a/app/src/main/java/org/ntlab/irisclient/GameMasterActivity.java +++ b/app/src/main/java/org/ntlab/irisclient/GameMasterActivity.java @@ -157,6 +157,10 @@ if(HintMax.getText().toString().length() != 0){ System.out.println("Gakuto:MasterActivity ヒントマックス" + HintMax.getText().toString()); hintMax = Integer.parseInt(HintMax.getText().toString()); + //マックス0は受け付けない + if(hintMax == 0){ + hintMax = 1; + } }