client
proc
Load()
if(fexists("Savefiles/[ckey].sav"))
var/savefile/F = new("Savefiles/[ckey].sav")
F["mob"] >> mob
Problem description: For some reason everytime I press the load button it brings me to the map regardless of whether or not I have a savefile. It's supposed to do nothing if you don't have a save to load.
proc
Load()
if(fexists("Savefiles/[ckey].sav"))
var/savefile/F = new("Savefiles/[ckey].sav")
F["mob"] >> mob
else
return