@urso/core 0.7.94-dev → 0.7.95-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@urso/core",
3
- "version": "0.7.94-dev",
3
+ "version": "0.7.95-dev",
4
4
  "description": "HTML5 game engine",
5
5
  "main": "build/js/index.js",
6
6
  "author": "Megbrimef",
@@ -459,9 +459,9 @@ class PropertyAdapter {
459
459
 
460
460
  case 'boolean':
461
461
  if (this._canBeParent(object))
462
- return object._baseObject[propertyName];
462
+ return this._getPropertyAsNumber(object.parent, propertyName, parentPropertyName);
463
463
  else
464
- return this._getPropertyAsNumber(object.parent, propertyName, parentPropertyName)
464
+ return object._baseObject[propertyName];
465
465
 
466
466
  default:
467
467
  Urso.logger.error('Property value not number or string!', object, propertyName);