n
Weird error to do with index out of range
I was thinking something like that because of how random the error appears, but for example if there are 10 events and they are stored at indexes 0-9 within
Event.Events
, surely Rand.Next(Event.Events.Count)
will generate a number between 0 and 9 inclusive?14 replies
Weird error to do with index out of range
Event.Events
is always populated for the entirety that this is running and I very much doubt that could be causing the issue - my event voting system works fine a couple of times and then randomly will just break with this error, crashing it14 replies