Skip to content

Commit 04f7fab

Browse files
authored
Update DrillerModule.cs (#521)
1 parent 0b09f8f commit 04f7fab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Perpetuum/Modules/DrillerModule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ rcu.CommandRobot is Player player &&
244244
.ThrowIfFalse(
245245
ErrorCodes.MiningEnablerEffectRequired,
246246
(PerpetuumException ex) =>
247-
(ParentRobot as RemoteControlledCreature)
247+
(ParentRobot as RemoteControlledCreature)?
248248
.ProcessIndustrialTarget(position.Center, 0));
249249
}
250250

0 commit comments

Comments
 (0)