From 7904916dbadcb05f60c44677f11632c858173cfc Mon Sep 17 00:00:00 2001 From: Griatch Date: Sun, 26 Sep 2010 09:21:01 +0000 Subject: [PATCH] Fixed a simple list-bug in @objects command. This resolves issue111. --- game/gamesrc/commands/default/privileged.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/gamesrc/commands/default/privileged.py b/game/gamesrc/commands/default/privileged.py index 0b6e0fda86..37c19ab2e4 100644 --- a/game/gamesrc/commands/default/privileged.py +++ b/game/gamesrc/commands/default/privileged.py @@ -305,7 +305,7 @@ class CmdListObjects(MuxCommand): string += srow string += "\n\n{wLast %s Objects created:{n" % nlim - objs = list(ObjectDB.objects.all())[:nlim] + objs = list(ObjectDB.objects.all())[-nlim:] table = [["Created"], ["dbref"], ["name"], ["typeclass"]] for i, obj in enumerate(objs):