mirror of https://github.com/OpenRCT2/OpenRCT2.git
Load title sequence when invalid path was given
This commit is contained in:
parent
ab6d4ee240
commit
22d0cb99f9
|
@ -329,6 +329,7 @@ bool rct2_open_file(const char *path)
|
|||
{
|
||||
char *extension = strrchr(path, '.');
|
||||
if (extension == NULL) {
|
||||
title_load();
|
||||
return false;
|
||||
}
|
||||
extension++;
|
||||
|
|
Loading…
Reference in New Issue