Skip to content

Commit

Permalink
Fix waiting on events never returning if TGS restarts
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberboss committed Feb 24, 2024
1 parent 2d160b0 commit c373491
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DMAPI/tgs/v5/topic.dm
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@
reattach_response[DMAPI5_PARAMETER_CUSTOM_COMMANDS] = ListCustomCommands()
reattach_response[DMAPI5_PARAMETER_TOPIC_PORT] = GetTopicPort()

pending_events.Cut()
for(var/eventId in pending_events)
pending_events[eventId] = TRUE

return reattach_response

Expand Down

0 comments on commit c373491

Please sign in to comment.