bounds/obounds crash the game when Ref's location is null
Numbered Steps to Reproduce Problem:
1. Set obj loc to null
2. Call obounds with the obj
Code Snippet (if applicable) to Reproduce Problem:
mob/verb/crashme()
loc = null
bounds()
Just a note, for this to crash there needs to be a map not just code, any map will do even empty 10x10x1.
Expected Results:
bounds to return an empty list or null
Actual Results:
Game crashes
Does the problem occur:
Every time? Or how often? Always
In other games? Yes
In other user accounts? Yes
On other computers? Yes
When does the problem NOT occur?
Always occurs
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked?
BYOND version 506.1244 or lower, it starts at 506.1245
There's this change on the release notes, it might be related
"Movable atoms with step offsets or bounds causing them to overlap other tiles could cause crashes after being moved into another movable atom."
Workarounds:
Don't call bounds/obounds when you have no location.