Bad index runtime error when trying to access anything in client verbs
Code Snippet (if applicable) to Reproduce Problem:
This doesn't work and gives runtime error
/client/verb/test_verb()
world << "I do nothing"
/mob/verb/listverbs()
var/list/L = client.verbs
for(var/i = 1 to L.len)
world << L[i]
And the same code but for mob verbs works well
/mob/verb/mobverbs()
var/list/L = verbs
for(var/i = 1 to L.len)
world << L[i]
Expected Results:
Contents of client verbs
Actual Results:
Runtime error
Does the problem occur:
Every time? Or how often?
Every time
In other games?
Yes
In other user accounts?
Yes
On other computers?
Yes
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.)
I think it is connected with this bug http://www.byond.com/forum/post/2627626
Workarounds:
Didn't find