diff --git a/direct/src/level/EntityTypes.py b/direct/src/level/EntityTypes.py index 00d012e8f1..4033c47efb 100755 --- a/direct/src/level/EntityTypes.py +++ b/direct/src/level/EntityTypes.py @@ -124,6 +124,8 @@ class AmbientSound(Nodepath): type = 'ambientSound' attribs = ( ('soundPath', '', 'bamfilename'), + ('volume', 1, 'float', {'min':0,'max':1}), + ('enabled', 1, 'bool'), ) class PropSpinner(Entity):