Skip to content

Commit

Permalink
added option to have an overrides file
Browse files Browse the repository at this point in the history
  • Loading branch information
Torwent committed Aug 31, 2021
1 parent 24de91b commit d18d8fa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions osr.simba
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,7 @@
{$ELSE}{$ENDIF}
{$ELSE}{$ENDIF}

{$IFHASFILE overrides.simba}
{$I overrides.simba}
{$ENDIF}

1 change: 0 additions & 1 deletion osr/interface/minimap.simba
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ begin
TPA.Fill;

ColorAmount := Length(GetColors(TPA, True));
Writeln ColorAmount;
Result := (ColorAmount > 3) and (ColorAmount < 40); //I'm not sure if 50 is too generous.
end;

Expand Down
2 changes: 1 addition & 1 deletion utils/scriptconfig.simba
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{$IFNDEF WL_UTILS}
{$I WaspLib/utils.simba}
{$ENDIF}
{$IFHASFILE ../credentials.simba}{$I ../credentials.simba}{$ENDIF}
{$IFHASFILE credentials.simba}{$I credentials.simba}{$ENDIF}

const
CREDENTIALS_FILE = AppPath + 'credentials.simba';
Expand Down

0 comments on commit d18d8fa

Please sign in to comment.