Default Pack key exception catching added.

This commit is contained in:
sigonasr2 2025-07-30 08:20:13 -05:00
parent 8f1a4e0699
commit e2e4892741
3 changed files with 2 additions and 2 deletions

View File

@ -287,7 +287,7 @@ void InitializeGameConfigurations(){
}
bool AiL::OnUserCreate(){
if(PACK_KEY=="INSERT_PACK_KEY_HERE")ERR("ERROR! Starting the game with the default pack ID is not allowed!");
if(PACK_KEY=="INSERT_PACK_KEY_HERE"||PACK_KEY=="INSERT PACK KEY HERE")ERR("ERROR! Starting the game with the default pack ID is not allowed!");
gamepack.LoadPack("assets/"+"gamepack_file"_S,PACK_KEY);
GamePad::init();

View File

@ -39,7 +39,7 @@ All rights reserved.
#define VERSION_MAJOR 1
#define VERSION_MINOR 3
#define VERSION_PATCH 0
#define VERSION_BUILD 12210
#define VERSION_BUILD 12211
#define stringify(a) stringify_(a)
#define stringify_(a) #a