Skip to content

Commit 1301257

Browse files
fix: race condition in Dungeon WS room start
1 parent a98106f commit 1301257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/gg/skytils/skytilsmod/listeners/DungeonListener.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ object DungeonListener {
228228
members = partyMembers,
229229
startTime = DungeonTimer.dungeonStartTime,
230230
entranceLoc = entrance.mainRoom.z * entrance.mainRoom.x
231-
))
231+
)).join()
232232
while (DungeonTimer.dungeonStartTime != -1L) {
233233
for (packet in outboundRoomQueue) {
234234
WSClient.sendPacketAsync(packet)

0 commit comments

Comments
 (0)