Fix bug with plugin draw callbacks that was causing interface flickering

This commit is contained in:
ceikry 2022-07-16 08:25:28 -05:00 committed by Ceikry
parent a8e211b5d4
commit 9750195081

View file

@ -485,6 +485,11 @@ public class Cs1ScriptRunner {
}
if (component.clientCode == 1405) {
PluginRepository.Draw();
InterfaceList.aBooleanArray100[rectangle] = true;
InterfaceList.rectangleRedraw[rectangle] = true;
//Above are inauthentic changes to call plugin draws and redraw this interface. Below I have left intact all the authentic code.
if (!Cheat.displayFps) {
continue;
}