Quick fix for puzzle editing

This commit is contained in:
Matthias Portzel 2024-03-23 02:21:58 -04:00
parent e5afe6fab8
commit 3517091fdb
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ define_command "Edit Puzzle", [
end
text = puzzle.text
new_text = puzzle.gsub(Regexp.compile(event.options["find_regex"]), new_text)
new_text = text.gsub(Regexp.compile(event.options["find_regex"]), new_text)
puzzle.text = new_text
puzzle.save