Skip to content

Commit

Permalink
hotfix for nullref error introduced by #697
Browse files Browse the repository at this point in the history
  • Loading branch information
Sn1p3rr3c0n committed Feb 20, 2024
1 parent 17083bd commit a50054a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public override void SpawnSetup(Map map, bool respawningAfterLoad)
prf_gamecomp.RegisterAssemblerQueue(this);

//Check if the Current Bill still Exists
if (currentBillReport.bill is null)
if (currentBillReport?.bill is null)
{
//Remove Bill
currentBillReport = null;
Expand Down

0 comments on commit a50054a

Please sign in to comment.