fixed log spam

This commit is contained in:
c0ffee 2022-11-29 17:21:00 -08:00
parent eb7fe1a280
commit fa0c4457e8
5 changed files with 5 additions and 3 deletions

View file

@ -36,6 +36,7 @@ namespace Rimworld_Animations {
if (x.actors.Count != localParticipants.Count) { if (x.actors.Count != localParticipants.Count) {
if (AnimationSettings.debugMode)
Log.Message(x.defName.ToStringSafe() + " not selected -- doesn't match count"); Log.Message(x.defName.ToStringSafe() + " not selected -- doesn't match count");
return false; return false;
} }
@ -85,7 +86,8 @@ namespace Rimworld_Animations {
if (!x.actors[i].defNames.Contains(localParticipants[i].def.defName)) { if (!x.actors[i].defNames.Contains(localParticipants[i].def.defName)) {
if (rjw.RJWSettings.DevMode) { if (AnimationSettings.debugMode)
{
string animInfo = x.defName.ToStringSafe() + " not selected -- " + localParticipants[i].def.defName.ToStringSafe() + " " + localParticipants[i].Name.ToStringSafe() + " is not "; string animInfo = x.defName.ToStringSafe() + " not selected -- " + localParticipants[i].def.defName.ToStringSafe() + " " + localParticipants[i].Name.ToStringSafe() + " is not ";
foreach(String defname in x.actors[i].defNames) { foreach(String defname in x.actors[i].defNames) {
animInfo += defname + ", "; animInfo += defname + ", ";

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Manifest> <Manifest>
<identifier>Rimworld-Animations</identifier> <identifier>Rimworld-Animations</identifier>
<version>1.3.1</version> <version>1.3.2</version>
</Manifest> </Manifest>