mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
changed debug print
This commit is contained in:
parent
54872ff8c0
commit
5642bbee44
@ -37,8 +37,8 @@ class Level:
|
|||||||
self.initialized = 0
|
self.initialized = 0
|
||||||
|
|
||||||
def initializeLevel(self, levelId, levelSpec, scenarioIndex):
|
def initializeLevel(self, levelId, levelSpec, scenarioIndex):
|
||||||
""" subclass should call this as soon as it has located
|
"""subclass should call this as soon as it has located
|
||||||
its spec data """
|
its spec data"""
|
||||||
self.levelId = levelId
|
self.levelId = levelId
|
||||||
self.levelSpec = levelSpec
|
self.levelSpec = levelSpec
|
||||||
self.scenarioIndex = scenarioIndex
|
self.scenarioIndex = scenarioIndex
|
||||||
@ -205,7 +205,7 @@ class Level:
|
|||||||
if __debug__:
|
if __debug__:
|
||||||
if entId in self.entities:
|
if entId in self.entities:
|
||||||
self.notify.warning(
|
self.notify.warning(
|
||||||
'entity %s already in entity table... '
|
'entity %s already in entity table... '%(entId)+
|
||||||
'make sure distributedEntity is calling down to '
|
'make sure distributedEntity is calling down to '
|
||||||
'Entity.destroy!')
|
'Entity.destroy!')
|
||||||
self.entities[entId] = entity
|
self.entities[entId] = entity
|
||||||
|
Loading…
x
Reference in New Issue
Block a user