Skip to content

Commit

Permalink
Fix attempt to create blips and pickups too early
Browse files Browse the repository at this point in the history
  • Loading branch information
thers committed Mar 24, 2017
1 parent 0ed4f71 commit 7801149
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions FRFuel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,15 @@ public FRFuel()
blips = new Blip[GasStations.positions.Length];
pickups = new Pickup[GasStations.positions.Length];

CreateBlips();
CreateJerryCanPickUps();
try
{
CreateBlips();
CreateJerryCanPickUps();
}
catch
{
// nothing
}

Tick += OnTick;

Expand Down

0 comments on commit 7801149

Please sign in to comment.