Reset Schedule
Posted: Fri May 19, 2017 11:31 pm
Hi
My question may sound stupid but... How do you reset a schedule (empty the list?)
I tried train.schedule=nil-> Crash (Very strange, because the schedule is actually nil when I reset my schedule manually)
train.schedule.current=0-> Ignored (If I retest just after, player. print(train.schedule.current) return 1!
train.schedule.records={}->Ignored
And sometimes, the issue with the index of Current which is not correct.
Help on that, please, as this is very frustrating
Thanks
Hermios
My question may sound stupid but... How do you reset a schedule (empty the list?)
I tried train.schedule=nil-> Crash (Very strange, because the schedule is actually nil when I reset my schedule manually)
train.schedule.current=0-> Ignored (If I retest just after, player. print(train.schedule.current) return 1!
train.schedule.records={}->Ignored
And sometimes, the issue with the index of Current which is not correct.
Help on that, please, as this is very frustrating
Thanks
Hermios