v0.6.2: fixed pastys not retaining holiday info in remains

This commit is contained in:
Evan Debenham 2017-10-20 01:11:20 -04:00
parent 7c532206d7
commit c0d432a3fb

View File

@ -71,7 +71,16 @@ public class Pasty extends Food {
}
{
reset();
energy = Hunger.STARVING;
bones = true;
}
@Override
public void reset() {
super.reset();
switch(holiday){
case NONE:
name = Messages.get(this, "pasty");
@ -86,10 +95,6 @@ public class Pasty extends Food {
image = ItemSpriteSheet.CANDY_CANE;
break;
}
energy = Hunger.STARVING;
bones = true;
}
@Override