Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CastException on Building_DroneStation.DeSpawn if non DroneArea Area is set #716

Closed
Sn1p3rr3c0n opened this issue Jul 5, 2023 · 0 comments · Fixed by #719
Closed

CastException on Building_DroneStation.DeSpawn if non DroneArea Area is set #716

Sn1p3rr3c0n opened this issue Jul 5, 2023 · 0 comments · Fixed by #719
Labels
bug Something isn't working C#

Comments

@Sn1p3rr3c0n
Copy link
Collaborator

Reported by Cheryl, Trash Gremlin confirmed by me.

CastException on Building_DroneStation.DeSpawn if non DroneArea Area is set
A additional check is requierd to check if droneAllowedArea is DroneArea.
https://github.com/zymex22/Project-RimFactory-Revived/blob/master/Source/ProjectRimFactory/Drones/Building_DroneStation.cs#L426C17-L426C17

Log https://gist.github.com/HugsLibRecordKeeper/c9f0582e5893fff808ccbefdddbc4a5f

@Sn1p3rr3c0n Sn1p3rr3c0n added bug Something isn't working C# labels Jul 5, 2023
Sn1p3rr3c0n added a commit that referenced this issue Jul 14, 2023
Sn1p3rr3c0n added a commit that referenced this issue Jul 14, 2023
resolved #716 by checking the Type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working C#
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant