From 471b72d615cc483eab0379884991b9d82f893e0c Mon Sep 17 00:00:00 2001 From: Mattias Bodlund Date: Mon, 3 Aug 2026 18:51:59 +0300 Subject: [PATCH] na --- app/views/game/last_save.html.erb | 2 +- app/views/game/stage.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/game/last_save.html.erb b/app/views/game/last_save.html.erb index 7d1d5e1..78bfd65 100644 --- a/app/views/game/last_save.html.erb +++ b/app/views/game/last_save.html.erb @@ -20,7 +20,7 @@
- <% @node.children.each do |node| %> + <% @node.children.ordered.each do |node| %> <%= button_to node.title, url_for(action: "answer_last_save", value: node.id) %> <% end %> diff --git a/app/views/game/stage.html.erb b/app/views/game/stage.html.erb index 8c637b8..f005799 100644 --- a/app/views/game/stage.html.erb +++ b/app/views/game/stage.html.erb @@ -17,7 +17,7 @@
- <% @node.children.each do |node| %> + <% @node.children.ordered.each do |node| %> <%= button_to node.title, url_for(action: "answer", value: node.id), class: ("chance" if node.chance?), form: ((stage_index == 1 and node.chance?) ? { data: { action: "submit->chance#confirm" } } : {}) %>