From b5cf51b8350a1aeebce81c54224724303df9ed88 Mon Sep 17 00:00:00 2001 From: Nero Ignis Date: Mon, 19 Apr 2021 09:43:37 +0200 Subject: [PATCH] Add alert for not enough resources; --- js/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/app.js b/js/app.js index 7c15112..2a2a8be 100644 --- a/js/app.js +++ b/js/app.js @@ -447,6 +447,7 @@ let game = new Vue({ this.generateQuest(); } else { + alert('Not enough resources to redeem reward.'); return false; } },