From c17764bb3d141921eecaaff5e12a039a5cc88183 Mon Sep 17 00:00:00 2001 From: Salzkorn Date: Sat, 23 Nov 2024 17:35:08 +0100 Subject: [PATCH] Convert lock wait time to faster game speed --- worlds/sc2/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worlds/sc2/client.py b/worlds/sc2/client.py index ed05244a9c1..d6fe6add17b 100644 --- a/worlds/sc2/client.py +++ b/worlds/sc2/client.py @@ -95,7 +95,7 @@ TRADE_DATASTORAGE_SLOT = "slot_" # + Slot TRADE_DATASTORAGE_LOCK = "_lock" TRADE_LOCK_TIME = 5000 # Time in ms that the DataStorage may be considered safe to edit -TRADE_LOCK_WAIT_LIMIT = 540000 # Time in ms that the client may spend trying to get a lock (540000 = 9 minutes) +TRADE_LOCK_WAIT_LIMIT = 540000 / 1.4 # Time in ms that the client may spend trying to get a lock (540000 = 9 minutes, 1.4 is 'faster' game speed's time scale) # Games STARCRAFT2 = "Starcraft 2"