Sorry, me again. After some more testing I realised PR #5 causes an unnecessary delay when spam clicking while the portal is closed, which could potentially also lead to being left out of the game... Oops. This PR checks for a known string in a message dialog box widget that appears when clicking on the yellow version of the barrier when the previous game is ending. If the message is spotted, the cooldown is reset, allowing one click per tick instead of every 3 ticks.
Sorry, me again. After some more testing I realised PR #5 causes an unnecessary delay when spam clicking while the portal is closed, which could potentially also lead to being left out of the game... Oops. This PR checks for a known string in a message dialog box widget that appears when clicking on the yellow version of the barrier when the previous game is ending. If the message is spotted, the cooldown is reset, allowing one click per tick instead of every 3 ticks.