diff --git a/app/src/main/java/org/ntlab/irisclient/GameMasterActivity.java b/app/src/main/java/org/ntlab/irisclient/GameMasterActivity.java index 4309c0b..bd5bdb3 100644 --- a/app/src/main/java/org/ntlab/irisclient/GameMasterActivity.java +++ b/app/src/main/java/org/ntlab/irisclient/GameMasterActivity.java @@ -131,7 +131,6 @@ Button FinishGuessButton = (Button) findViewById(R.id.finishGuessButton); FinishGuessButton.setEnabled(false); //FinishGuessButton.setColorFilter(0xaaCCCCCC); - } private void buttonProcesses(){ @@ -158,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; + } }