Skip to content

Commit

Permalink
hotfix #patch
Browse files Browse the repository at this point in the history
This was getting stuck on some accounts. Sorry!
  • Loading branch information
Torwent committed Aug 16, 2021
1 parent d28d649 commit 057db1b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
9 changes: 6 additions & 3 deletions osr/antiban/biometrics.simba
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,12 @@ end;

function TAntiban.GetUniqueNumber(Input, Min, Max: Extended): Extended; overload;
begin
repeat
Result := Input * Self.GetInfluencer;
until (Result >= Min) and (Result <= Max);
Result := Input * Self.GetInfluencer;

if Result < Min then
Result := Min
else if Result > Max then
Result := Max;
end;


Expand Down
11 changes: 1 addition & 10 deletions osr/interface/xpdrop.simba
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,7 @@ const XP_COLORS
XP_COLORS is the constant holding all possible XPDrop colors.
.. pascal::

XP_COLORS: TIntegerArray = [
$FFFFFF, //white
$FFC8C8, //lilac
$FF00FF, //cyan
$C8FFC8, //jade
$64FF64, //lime
$40FFFF, //yellow
$1F98FF, //orange
$C8C8FF //pink
];
XP_COLORS: TIntegerArray = [$FFFFFF, $FFC8C8, $FF00FF, $C8FFC8, $64FF64, $40FFFF, $1F98FF, $C8C8FF];
*)
const
XP_COLORS: TIntegerArray = [
Expand Down

0 comments on commit 057db1b

Please sign in to comment.