From f1e156a2993fb8bc3fc83453dece116d9f565279 Mon Sep 17 00:00:00 2001 From: Griatch Date: Mon, 9 Dec 2013 09:18:55 +0100 Subject: [PATCH] Some minor tweaks to remove some debug logging. --- game/gamesrc/scripts/examples/bodyfunctions.py | 2 +- src/commands/default/building.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/game/gamesrc/scripts/examples/bodyfunctions.py b/game/gamesrc/scripts/examples/bodyfunctions.py index 6b3ec67ec2..56534d7beb 100644 --- a/game/gamesrc/scripts/examples/bodyfunctions.py +++ b/game/gamesrc/scripts/examples/bodyfunctions.py @@ -25,7 +25,7 @@ class BodyFunctions(Script): self.interval = 20 # seconds #self.repeats = 5 # repeat only a certain number of times self.start_delay = True # wait self.interval until first call - self.persistent = True + #self.persistent = True def at_repeat(self): """ diff --git a/src/commands/default/building.py b/src/commands/default/building.py index 3e7c9eced9..9faee293a6 100644 --- a/src/commands/default/building.py +++ b/src/commands/default/building.py @@ -1,4 +1,5 @@ """ +import sys Building and world design commands @@ -2138,7 +2139,7 @@ class CmdTag(MuxCommand): if ":" in tag: tag, category = [part.strip() for part in tag.split(":", 1)] search_category = "object_%s" % category - print "tag search:", tag, search_category + #print "tag search:", tag, search_category objs = search.search_tag(tag, category=search_category) nobjs = len(objs) if nobjs > 0: