[vJASS] Broken Replays after deactivating private chat

Level 2
Joined
Nov 1, 2016
Messages
6
Replays of my map do not work. During replays units often do not receive player commands and just stand around.

After debugging my code i tracked the problem down to these three lines.
JASS:
            call BlzFrameSetVisible(BlzGetFrameByName("ChatPlayerLabel", 0), false)
            call BlzFrameSetVisible(BlzGetFrameByName("ChatPlayerRadioButton", 0), false)
            call BlzFrameSetVisible(BlzGetFrameByName("ChatPlayerMenu", 0), false)

Removing those lines resolves the issue. But i do want to forbid private chat in my map.
Has anyone a solution to this problem?
 
like in legacy old patchs If you make the font small, it will be invisible. But it affects all chats
 
Back
Top