From 5d2e27a8e0abdf0659e0bf496774ba2bc6fdc01e Mon Sep 17 00:00:00 2001 From: meowtech Date: Sun, 24 May 2026 14:52:22 +0000 Subject: [PATCH] i hate multithreading. --- scripts/EdText.rb | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/scripts/EdText.rb b/scripts/EdText.rb index 1dfd998..2d7d2b8 100644 --- a/scripts/EdText.rb +++ b/scripts/EdText.rb @@ -36,15 +36,20 @@ module EdText # yeah. text = Language.tr(text.to_s.gsub(/\s*\n\s*/, " ").strip) .to_s.gsub(/\s*\\n\s*/, "").strip - thread = Thread.new do - result = Oneshot.msgbox(type, text + #thread = Thread.new do + # result = Oneshot.msgbox(type, text + # .gsub("\\p", $game_oneshot.player_name) + + # " " * 10) + # # HACK: Fuck + #end + + # it didn't work cause second thread sooooooooo.. maybe that fix isn't occurate, but! it works at least. + result = Oneshot.msgbox(type, text .gsub("\\p", $game_oneshot.player_name) + " " * 10) - # HACK: Fuck - end - while thread.alive? - Graphics.update - end + #while thread.alive? + # Graphics.update + #end result end end