tiagolr / dconsole

Haxe game-like console that provides runtime acess to methods, variables and more.
MIT License
169 stars 16 forks source link

Unregistering always logs an error #57

Open krisj07 opened 4 years ago

krisj07 commented 4 years ago

In the DCCommands class the methods unregisterFunction and unregisterObject always produce an "alias not found" warning even if the alias exists. I think the _console.logError(alias + " not found."); line should be an else clause for the preceding if?