From a50054a759d1e022f00e04927ca5071e3d405df7 Mon Sep 17 00:00:00 2001 From: Sn1p3rr3c0n Date: Tue, 20 Feb 2024 17:43:14 +0100 Subject: [PATCH] hotfix for nullref error introduced by #697 --- .../SAL3/Things/Assemblers/Building_ProgrammableAssembler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ProjectRimFactory/SAL3/Things/Assemblers/Building_ProgrammableAssembler.cs b/Source/ProjectRimFactory/SAL3/Things/Assemblers/Building_ProgrammableAssembler.cs index f1a0d15d..50c233e8 100644 --- a/Source/ProjectRimFactory/SAL3/Things/Assemblers/Building_ProgrammableAssembler.cs +++ b/Source/ProjectRimFactory/SAL3/Things/Assemblers/Building_ProgrammableAssembler.cs @@ -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;