v0.9.2a: sungrass healing not interrupts resting when it expires

This commit is contained in:
Evan Debenham 2021-03-06 18:27:31 -05:00
parent ea7e58bd2d
commit 040117f796

View File

@ -106,6 +106,9 @@ public class Sungrass extends Plant {
if (level <= 0) {
detach();
if (target instanceof Hero){
((Hero)target).resting = false;
}
}
spend( STEP );
return true;