ID:2891032
 
Resolved
Calling overlays.Cut() resulted in an incorrect "index out of bounds" runtime error.
BYOND Version:515.1615
Operating System:Windows 10 Home 64-bit
Web Browser:Firefox 118.0
Applies to:Dream Daemon
Status: Resolved (515.1616)

This issue has been resolved.
Descriptive Problem Summary:
Trying to call overlays.Cut() causes a "list index out of bounds" runtime. Rather than removing all overlays.
Numbered Steps to Reproduce Problem:
Run snippet.
Code Snippet (if applicable) to Reproduce Problem:
var/atom/A = new
/atom/New()
..()
overlays.Cut()


Expected Results:
The overlays get cut.

Actual Results:
Runtime.

Does the problem occur:
Every time? Or how often?
Yes.
In other games?
Yes.
In other user accounts?
N/A
On other computers?
Not tested.

When does the problem NOT occur?
Occurs every time.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
515.1614
Workarounds:
None.
Lummox JR resolved issue with message:
Calling overlays.Cut() resulted in an incorrect "index out of bounds" runtime error.