generate/delete refcount: error->warning

This commit is contained in:
Darren Ranalli 2009-02-04 19:47:17 +00:00
parent 1a4a978b3a
commit 67af3d6256
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ class DistributedObjectAI(DistributedObjectBase):
"""
self.__generates -= 1
if self.__generates < 0:
self.notify.error('DistributedObjectAI: delete() called more times than generate()')
self.notify.warning('DistributedObjectAI: delete() called more times than generate()')
if self.__generates == 0:
# prevent this code from executing multiple times
if self.air is not None:

View File

@ -93,7 +93,7 @@ class DistributedObjectUD(DistributedObjectBase):
"""
self.__generates -= 1
if self.__generates < 0:
self.notify.error('DistributedObjectUD: delete() called more times than generate()')
self.notify.warning('DistributedObjectUD: delete() called more times than generate()')
if self.__generates == 0:
# prevent this code from executing multiple times
if self.air is not None: