1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-01 09:59:03 +00:00

parse makrup on death message

This commit is contained in:
Zeno Rogue
2025-12-07 13:07:41 +01:00
parent 608ca5bd32
commit 42ec433af0

View File

@@ -118,9 +118,9 @@ bool man::can_see(entity& e) {
void man::on_kill() {
entity::on_kill();
if(extra_life->flags & ACTIVE)
addMessage("You die... Press [key:Extra Life] to revive.");
addMessage(parse_markup("You die... Press [key:Extra Life] to revive."));
else
addMessage("You die... permanently. You will have to create a new character. Or just press [key:Extra Life] for a narrative cheat.");
addMessage(parse_markup("You die... permanently. You will have to create a new character. Or just press [key:Extra Life] for a narrative cheat."));
}
void add_revert(revert_stack& s, const revert_type& what) {