v0.6.1: ascending stairs no longer costs hunger

This commit is contained in:
Evan Debenham 2017-07-31 14:56:03 -04:00 committed by Evan Debenham
parent 193633b602
commit dcc07b6ea2

View File

@ -841,11 +841,6 @@ public class Hero extends Char {
} else { } else {
curAction = null; curAction = null;
Hunger hunger = buff( Hunger.class );
if (hunger != null && !hunger.isStarving()) {
hunger.reduceHunger( -Hunger.STARVING / 10 );
}
Buff buff = buff(TimekeepersHourglass.timeFreeze.class); Buff buff = buff(TimekeepersHourglass.timeFreeze.class);
if (buff != null) buff.detach(); if (buff != null) buff.detach();