RoyAwesome / WorldSmith

Open source Dota 2 Mod Editor
MIT License
59 stars 28 forks source link

Hardened the initialization of Worldsmith a bit. #18

Closed ghost closed 10 years ago

ghost commented 10 years ago

It first looks for the Dota 2 directory followed by the addon directory. If it can't find the addon directory, it creates one. Also added some comments and improved the style consistency. I removed the need for a ranonce variable. Now it just checks if the dota 2 user config setting has been set. I think the welcome information and label can go on the home screen or on a splashscreen while loading. Also consider making the dota 2 directory setting part of the installer setup for WorldSmith. If there is anything you don't like, let me know why.