ID:2377311
 
Code:
mob/player
proc
AutoSaver()
set waitfor=0
while(src)
if(cansave)
var/savefile/F = new("Saves/[src.ckey].sav")
if(!tosenBalloon)
xco=x
yco=y
zco=z
F << src
sleep(10)



https://gyazo.com/7e3362226e29724b5fea935b690660a5

https://gyazo.com/f9d6b6977c7cd19e79176823fd584117

Not sure why i'm getting this run-time error when i try to auto save the player, any help would be appreciated

edit:
Solved by Nadrew:
setting index value for mob like so: F["mob"]<<src instead of: F<<src solved the issue. recommended to delete file before saving as well as its possible for two identical indices to have different data.