Lost over an hour of progress, can't restore it
I was editing my Repl, adding comments and new snippets of code. I then added my friend @Michael_Nicol to the Repl so that he could aid me on the project. I then refreshed as for some reason when I clicked 'Run', it always ran the same thing, no matter what I changed.
After that, I lost EVERYTHING: all the comments, functions and snippets of code I added from 11:36 AM to sometime around 12:50 AM, GONE. I sat there shocked for about 5 minutes before doing anything I could to bring back all of that code. I went to the version history and it was not there. I clicked 'Restore' on every file and it still did not come back. Nothing worked.
I am extremely frustrated at this disaster, and I am enraged to the point where I might just abandon the project entirely. This is the single worst thing to happen in my coding career so far. Please, if possible, can someone explain to me how I can restore all of that code? Whoever does so would be my literal savior, and I would appreciate your help deeply.
This happened to me before... Are you by any chance in the repl.it explorer program? I've had issues with file saving when I join it.
@TheOracle the best bet for restoring lost code would be within the version history (click on where it says
saving within the text editor). If it isn't there, that means that the code was never sent from your browser to the repl.it servers and there isn't really anything you can to recover that.
@GavHern, that is very disappointing as one of the first things I did after losing the code was checking the version history, which did not have the deleted code. It sucks that an hour and a half of progress was wasted, but after all:
"Reality is often disappointing." -Thanos, 2017
Thanks for your help, however! I really appreciate it.
Here you go. I have forked your repl and tidied your code: https://repl.it/@malvoliothegood/Idle-EmpireWork-in-Progress