Use === to compare strings in JavaScript

This commit is contained in:
Ghostkeeper 2019-05-16 13:40:33 +02:00
parent 2cbdc49539
commit f3ea522811
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276

View file

@ -70,7 +70,7 @@ Item
// Remove the "user" setting to see if the rest of the stack prescribes a brim or a raft
platformAdhesionType.removeFromContainer(0)
adhesionType = platformAdhesionType.properties.value
if(adhesionType == "skirt" || adhesionType == "none")
if(adhesionType === "skirt" || adhesionType === "none")
{
// If the rest of the stack doesn't prescribe an adhesion-type, default to a brim
adhesionType = "brim"