We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5461471 commit 3bb6099Copy full SHA for 3bb6099
1 file changed
src/scene/GetPhysicsPlugins.js
@@ -1,4 +1,5 @@
1
var GetFastValue = require('../utils/object/GetFastValue');
2
+var UppercaseFirst = require('../utils/string/UppercaseFirst');
3
4
var GetPhysicsPlugins = function (sys)
5
{
@@ -16,14 +17,14 @@ var GetPhysicsPlugins = function (sys)
16
17
18
if (defaultSystem)
19
- output.push(defaultSystem + 'Physics');
20
+ output.push(UppercaseFirst(defaultSystem + 'Physics'));
21
}
22
23
if (sceneSystems)
24
25
for (var key in sceneSystems)
26
- key = key.concat('Physics');
27
+ key = UppercaseFirst(key.concat('Physics'));
28
29
if (output.indexOf(key) === -1)
30
0 commit comments