TODO: Fix bank buttons procedure TAntiban.RandomBankButton(); var RandomButton: ERSBankButton; BankButton: TRSButton; begin if not Bank.IsOpen then Exit;
RandomButton := ERSBankButton(Random(2, 10)); BankButton := Bank.GetButton(RandomButton); Self.DebugLn(‘Clicking ‘ + ToStr(RandomButton) + ‘ bank button’); BankButton.Enable; end;