Skip to content
Snippets Groups Projects
Commit 15670f94 authored by echicken's avatar echicken
Browse files

Shitty fix for now: you just can't submit a blank answer. :|

Ideally the clue would be abortable if the player has no
intention of answering, but I'll make that a thing later.
parent 04766062
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ var Round = function(frame, r, game) {
case STATE_ROUND_CLUE:
var ret = clue.getcmd(cmd);
if (typeof ret === 'string') {
if (typeof ret === 'string' && ret !== '') {
state = STATE_ROUND_ANSWER;
clue.close();
database.submitAnswer(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment