prevent using with versus survival

This commit is contained in:
GenZmeY 2022-09-12 20:35:34 +03:00
parent 2b70ddf3fb
commit c33ec3209f

View File

@ -214,7 +214,7 @@ private function PostInit()
}
KFGI = KFGameInfo(WorldInfo.Game);
if (KFGI == None)
if (KFGI == None || KFGameInfo_VersusSurvival(KFGI) != None) // VersusSurvival is not supported (yet)
{
`Log_Fatal("Incompatible gamemode:" @ WorldInfo.Game);
SafeDestroy();