Skip to content

For sound slot, asset id type should be a number (or can be null) rather than string#1878

Merged
willeastcott merged 1 commit intoplaycanvas:masterfrom
Mojiworks:mojiworks/pr/typescript-slot-asset-id
Feb 23, 2020
Merged

For sound slot, asset id type should be a number (or can be null) rather than string#1878
willeastcott merged 1 commit intoplaycanvas:masterfrom
Mojiworks:mojiworks/pr/typescript-slot-asset-id

Conversation

@TheJonRobinson
Copy link
Contributor

We noticed the asset id in sound slots is typed as string but should be number. Checking the code, can also be null, so accounted for this also.

I confirm I have signed the Contributor License Agreement.

@willeastcott willeastcott merged commit 4ced357 into playcanvas:master Feb 23, 2020
@willeastcott
Copy link
Contributor

Well spotted. Thanks!

TheJonRobinson added a commit to Mojiworks/playcanvas-engine that referenced this pull request Feb 23, 2020
* master:
  [FIX] Asset id type should be a number (or can be null) rather than string (playcanvas#1878)
@TheJonRobinson TheJonRobinson deleted the mojiworks/pr/typescript-slot-asset-id branch February 26, 2020 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants