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,7 +36,8 @@ namespace Rimworld_Animations {
if (x.actors.Count != localParticipants.Count) {
Log.Message(x.defName.ToStringSafe() + " not selected -- doesn't match count");
if (AnimationSettings.debugMode)
Log.Message(x.defName.ToStringSafe() + " not selected -- doesn't match count");
return false;
}
for (int i = 0; i < x.actors.Count; i++) {
@ -85,7 +86,8 @@ namespace Rimworld_Animations {
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 ";
foreach(String defname in x.actors[i].defNames) {
animInfo += defname + ", ";

View File

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