From 62904f7943498efe9a041b2d42cbc9dae48a4c7d Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Wed, 19 Apr 2023 22:00:39 -0400 Subject: Signs get updated in panel shuffle mode Palindromes room is fixed now too. --- util/generate_gamedata.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'util') diff --git a/util/generate_gamedata.rb b/util/generate_gamedata.rb index 7f4216f..5940480 100644 --- a/util/generate_gamedata.rb +++ b/util/generate_gamedata.rb @@ -22,7 +22,13 @@ end.map do |panel| ret["link"] = "\"#{panel["link"]}\"" end if panel.include? "copy_to_sign" - ret["copy_to_sign"] = "\"#{panel["copy_to_sign"]}\"" + copytos = [] + if panel["copy_to_sign"].kind_of? String + copytos = [panel["copy_to_sign"]] + else + copytos = panel["copy_to_sign"] + end + ret["copy_to_sign"] = "[\"" + copytos.join("\",\"") + "\"]" end ret end.map do |panel| -- cgit 1.4.1