home · contact · privacy
On re-naming failure, return to world edit mode.
[plomrogue2] / rogue_chat.html
index e2cd53c43c3333e2d27f45815e124e58c752c170..a09892dbc86576e8db2d437a29e22212e09508c2 100644 (file)
@@ -813,7 +813,7 @@ let tui = {
                                          || !game.player.carrying.commandable)) {
         return fail('not carrying anything commandable');
     } else if (mode_name == 'name_thing' && !game.player.carrying) {
-        return fail('not carrying anything to re-name');
+        return fail('not carrying anything to re-name', 'edit');
     } else if (mode_name == 'admin_thing_protect' && !game.player.carrying) {
         return fail('not carrying anything to protect')
     } else if (mode_name == 'take_thing' && game.player.carrying) {