Skip to content

Commit

Permalink
Unify edt subsection matching in checkpoint.inc
Browse files Browse the repository at this point in the history
  • Loading branch information
Alienmario committed Nov 24, 2024
1 parent a41c676 commit cc3dcb1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripting/include/srccoop/checkpoint.inc
Original file line number Diff line number Diff line change
Expand Up @@ -704,12 +704,14 @@ methodmap CCoopSpawnSystem
{
if (kv.GetDataType(NULL_STRING) != KvData_None)
{
continue;
}
else if (strcmp(szType, "checkpoint", false) == 0)
LogDebug("Post-load processing \"%s\" block", szType);
if (StrContains(szType, "checkpoint", false) == 0)
{
CCoopSpawnSystem.ParseCheckpoint(kv);
}
else if (strcmp(szType, "equipment", false) == 0)
else if (StrContains(szType, "equipment", false) == 0)
{
CCoopSpawnSystem.ParseEquipment(kv);
}
Expand Down

0 comments on commit cc3dcb1

Please sign in to comment.