Core/Various Worlds: Fix crash/freeze with unicode characters (#4671)

replace colorama.init with just_fix_windows_console
This commit is contained in:
Benny D
2025-03-14 01:24:37 -06:00
committed by GitHub
parent 1de411ec89
commit 9b3ee018e9
19 changed files with 19 additions and 19 deletions

View File

@@ -530,7 +530,7 @@ server_args = ("--rcon-port", rcon_port, "--rcon-password", rcon_password)
def launch():
import colorama
global executable, server_settings, server_args
colorama.init()
colorama.just_fix_windows_console()
if server_settings:
server_settings = os.path.abspath(server_settings)