diff --git a/core/src/main/AndroidManifest.xml b/core/src/main/AndroidManifest.xml index 54b6707ef..f16f2d22a 100644 --- a/core/src/main/AndroidManifest.xml +++ b/core/src/main/AndroidManifest.xml @@ -26,10 +26,10 @@ android:theme="@android:style/Theme.Black.NoTitleBar" android:allowBackup="true" android:fullBackupOnly="true" - android:backupAgent=".BackupHandler"> + android:backupAgent="com.shatteredpixel.shatteredpixeldungeon.BackupHandler"> target.HT) target.HP = target.HT; + if (target.HP >= target.HT) { + target.HP = target.HT; + if (target instanceof Hero){ + ((Hero)target).resting = false; + } + } } if (level <= 0) {