Add command enable/disable

This commit is contained in:
2021-11-04 22:19:50 +01:00
parent a745ff299e
commit a968f89bb3
4 changed files with 36 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
export default function LookCommand(args, context) {
if (args.length == 0) {
if (args.length == 1) {
context.examineRoom();
} else {
const room = context.getRoom(context.player.currentRoom);