From 83c9bf27ee1c753d8372e891c31b95b4e321b2b4 Mon Sep 17 00:00:00 2001
From: Stephen D <webmaster@scd31.com>
Date: Fri, 7 Feb 2025 12:48:13 -0500
Subject: [PATCH] bug fix

---
 frontend.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frontend.rb b/frontend.rb
index 260484e..36dcf31 100755
--- a/frontend.rb
+++ b/frontend.rb
@@ -38,7 +38,7 @@ Thread.new do
       elsif cur_line.include?('</think>')
         thinks = nil
         puts "\n</think>" # now we have 2 newlines
-      elsif cur_line.include?('YOU WIN!!!!!')
+      elsif cur_line.include?('YOU WIN!!!!!') && thinks.nil?
         puts "\nGood job! The word was #{word}"
       end
 
-- 
GitLab