mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
ouch is not auto-multiplied
This commit is contained in:
parent
b93d54401b
commit
f147f1a193
@ -274,7 +274,7 @@ class DistributedLevel(DistributedObject.DistributedObject,
|
||||
floorNode = collisionEntry.getIntoNode()
|
||||
if floorNode.hasTag('ouch'):
|
||||
ouchLevel = int(floorNode.getTag('ouch'))
|
||||
self.startOuch(ouchLevel*2)
|
||||
self.startOuch(ouchLevel)
|
||||
self.accept('enter%s' % floorCollName, handleZoneEnter)
|
||||
|
||||
# also listen for zone exit events for the sake of the
|
||||
|
Loading…
x
Reference in New Issue
Block a user