# \[5141\] Persistent debug messages from morale calculations

**URL:** https://discourse.cataclysmdda.org/t/5141-persistent-debug-messages-from-morale-calculations/12121
**Category:** The Garage
**Created:** [June 28, 2016, 8:25am UTC](https://discourse.cataclysmdda.org/t/5141-persistent-debug-messages-from-morale-calculations/12121 "2016-06-28T08:25:59Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Alasnuyo](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@Alasnuyo](https://discourse.cataclysmdda.org/u/Alasnuyo)
#### Post date: [June 28, 2016, 8:25am UTC](https://discourse.cataclysmdda.org/t/5141-persistent-debug-messages-from-morale-calculations/12121/1 "2016-06-28T08:25:59Z")

</div>

On one hand the persistent morale debuffs from filthy gears are mostly solved. On the other, I keep getting debug messages when taking off fancy and filthy items.

With when taking off the fancy watch, I get this:

> DEBUG : Tried to take off "sf\_watch" which isn't worn.
> 
> FUNCTION : void player\_morale::set\_worn(const item&, bool)  
> FILE : src/morale.cpp  
> LINE : 662

One morale point remained out of three when it is taken off, and a few moments later, this appears:

> DEBUG : Morale "Stylish" is inconsistent.
> 
> FUNCTION : player\_morale::consistent\_with(const player\_morale&) const::\_lambda4  
> FILE : src/morale.cpp  
> LINE : 536

after which the morale points resets entirely for a few moments, including the constantly on debuffs from my Hoarder trait, which is somewhat immersion-breaking.

The same happens whenever I take off a filthy gear:

> DEBUG : Morale "Filthy Gear" is inconsistent.
> 
> FUNCTION : player\_morale::consistent\_with(const player\_morale&) const::\_lambda4  
> FILE : src/morale.cpp  
> LINE : 536

I hear that this only suppose to happen once with bugged saves and goes away after resaving. But mine kept persisting after several resaves.
