Limit games to 3 gestures because GUI wallet only supports 3 gesture games currently. Note that cli-wallet also supports 5 gesture games in theory, and the code can be expanded to support any odd number of gestures by giving the gestures names.
This commit is contained in:
parent
1aad7e4b74
commit
3b36205555
1 changed files with 3 additions and 0 deletions
|
|
@ -96,6 +96,9 @@ namespace graphene { namespace chain {
|
||||||
"Time to reveal the move must not be greater than ${max}",
|
"Time to reveal the move must not be greater than ${max}",
|
||||||
("max", maximum_time_per_reveal_move));
|
("max", maximum_time_per_reveal_move));
|
||||||
|
|
||||||
|
//cli-wallet supports 5 gesture games as well, but limit to 3 now as GUI wallet only supports 3 gesture games currently
|
||||||
|
FC_ASSERT(game_options.number_of_gestures == 3,
|
||||||
|
"GUI Wallet only supports 3 gestures currently");
|
||||||
|
|
||||||
return void_result();
|
return void_result();
|
||||||
} FC_CAPTURE_AND_RETHROW( (op) ) }
|
} FC_CAPTURE_AND_RETHROW( (op) ) }
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue