mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
fixed log spam
This commit is contained in:
parent
eb7fe1a280
commit
fa0c4457e8
5 changed files with 5 additions and 3 deletions
Binary file not shown.
|
@ -36,7 +36,8 @@ namespace Rimworld_Animations {
|
||||||
|
|
||||||
|
|
||||||
if (x.actors.Count != localParticipants.Count) {
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
for (int i = 0; i < x.actors.Count; i++) {
|
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 (!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 + ", ";
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue