Merge branch 'master' into blender2.8

This commit is contained in:
Campbell Barton
2017-07-27 07:35:44 +10:00
6 changed files with 15 additions and 21 deletions

View File

@@ -62,7 +62,7 @@ def main():
# adding to our objects "life" property
"""
actu_collide = cont.sensors["collision_sens"]
for ob in actu_collide.objectHitList:
for ob in actu_collide.hitObjectList:
# Check to see the object has this property
if "life" in ob:
own["life"] += ob["life"]