Sadret / openrct2-scenery-manager

An OpenRCT2 plug-in to copy & paste scenery with many more features.
GNU General Public License v3.0
44 stars 5 forks source link

Bad error when running under headless #6

Closed IntelOrca closed 3 years ago

IntelOrca commented 3 years ago

Running under headless mode gives:

[scenery-manager] Started
[scenery-manager] ReferenceError: identifier 'ui' undefined

The check for UI should be typeof ui === 'undefined'.