Skip to content

How to check if save file exists/has all needed variables? #2801

Answered by Geokureli
NikRetaNCAM asked this question in Q&A
Discussion options

You must be logged in to vote

no, i check if a specific var is null, and if it is, I know there is no save and set up the default save, or call resetSave in your case. for instance you can check for saves[curSave].data.location == null or something

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@NikRetaNCAM
Comment options

@Geokureli
Comment options

Answer selected by NikRetaNCAM
@NikRetaNCAM
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants