update description and readme

This commit is contained in:
2022-08-22 18:00:24 +03:00
parent de44bfe00f
commit b38412819e
3 changed files with 17 additions and 6 deletions

View File

@ -11,19 +11,17 @@ public event PreBeginPlay()
foreach WorldInfo.DynamicActors(class'ZedSpawner', ZS)
{
`Log_Base("Found 'ZedSpawner'");
break;
}
if (ZS == None)
{
`Log_Base("Spawn 'ZedSpawner'");
ZS = WorldInfo.Spawn(class'ZedSpawner');
}
if (ZS == None)
{
`Log_Base("Can't Spawn 'ZedSpawner', Destroy...");
`Log_Base("FATAL: Can't Spawn 'ZedSpawner'");
Destroy();
}
}