Crash with hover on Filing Cabinet block with folder in it
generolas121 opened this issue ยท 1 comments
Current Behavior
Game crashes once the filing block containing empty phial folder is hovered over with a mouse.
Steps to Reproduce
- Place filing cabinet
- Open it
- Insert empty phial folder
- Proceed to crash
- Reload
- Get back in game
- Hover over the filing cabinet again
- Proceed to crash, again.
Log
https://gist.github.com/generolas121/9104bb1e82332102702e6cf9f53d9bf3
well, that's not supposed to happen..
the crash happens because the empty phialing folder returns null if it doesn't have any aspect stored in it. I've inserted a condition in the phialing cabinet to prevent one from putting in any empty phialing folders, and to only accept those that actually do have an aspect stored.
note: this crash seems to only happen when you're looking at one with goggles of revealing or anything that shows aspects in containers.