Refactoring

This commit is contained in:
Jackz 2022-07-06 22:53:56 -05:00
parent a5aee1dc1d
commit bc8069ac48
No known key found for this signature in database
GPG key ID: E0BBD94CF657F603
6 changed files with 73 additions and 83 deletions

View file

@ -231,7 +231,7 @@ void SetupEntities(bool blockers = true, bool props = true, bool portals = true)
}
#endif
if(mapConfig.entities != null) {
PrintToServer("[GuessWho] Deploying %d custom entities (Set: %s) (blockers:%b props:%b portals:%b)", mapConfig.entities.Length, currentSet, blockers, props, portals);
PrintToServer("[GuessWho] Deploying %d custom entities (Set: %s) (blockers:%b props:%b portals:%b)", mapConfig.entities.Length, g_currentSet, blockers, props, portals);
for(int i = 0; i < mapConfig.entities.Length; i++) {
EntityConfig config;
mapConfig.entities.GetArray(i, config);