Skip to content

Commit

Permalink
Merge pull request #719 from zymex22/issue716
Browse files Browse the repository at this point in the history
resolved #716 by checking the Type
  • Loading branch information
Sn1p3rr3c0n authored Jul 14, 2023
2 parents a1474a2 + 80dcd04 commit f4b6d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ProjectRimFactory/Drones/Building_DroneStation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ public override void DeSpawn(DestroyMode mode = DestroyMode.Vanish)
{
drones[i].Destroy();
}
if (droneAllowedArea != null)
if (droneAllowedArea is DroneArea)
{
//Deleate the old Zone
((DroneArea)droneAllowedArea).SetMutable(true);
Expand Down

0 comments on commit f4b6d79

Please sign in to comment.