Fix auto save state when state file does not already exist (#16084)
Co-authored-by: Daniel Byon <daniel@danielbyon.com>pull/16090/head
parent
773a2750cd
commit
fc10539f3c
|
@ -1332,7 +1332,7 @@ bool content_auto_save_state(const char *path)
|
|||
|
||||
serial_size = core_serialize_size();
|
||||
|
||||
if (serial_size == 0 || !path_is_valid(path))
|
||||
if (serial_size == 0)
|
||||
return false;
|
||||
|
||||
serial_data = content_get_serialized_data(&serial_size);
|
||||
|
|
Loading…
Reference in New Issue