Fix for upper/lower case util

This commit is contained in:
Vortrex
2020-12-21 22:54:43 -06:00
parent dc01876de2
commit 5cf29219d6

View File

@@ -41,13 +41,13 @@ function toVector2(x, y, z) {
// ---------------------------------------------------------------------------
function toUpperCase(val) {
return val.toUpperCase();
return String(val).toUpperCase();
}
// ---------------------------------------------------------------------------
function toLowerCase(val) {
return val.toLowerCase();
return String(val).toLowerCase();
}
// ---------------------------------------------------------------------------