diff options
author | Marvin Borner | 2019-01-07 01:56:36 +0100 |
---|---|---|
committer | Marvin Borner | 2019-01-07 01:56:36 +0100 |
commit | 79a5fbb6f5e99df403d50eefd32e8f54b53ebb1e (patch) | |
tree | b95b01e2a0a781ac186ca3046ae73d6893f7154e /qml | |
parent | 8a76736fab808474b9fd40da4eae371b8b3375d4 (diff) |
Fixed issues with random zero
Diffstat (limited to 'qml')
-rw-r--r-- | qml/pages/FirstPage.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qml/pages/FirstPage.qml b/qml/pages/FirstPage.qml index c0702ac..72270ad 100644 --- a/qml/pages/FirstPage.qml +++ b/qml/pages/FirstPage.qml @@ -47,7 +47,7 @@ Page { } function getRandom() { - return Math.floor(Math.random() * 16); + return Math.floor(Math.random() * 15) + 1; } function newGame() { |