leveleditor: Fixed relative import for start

- Relative imports only work within modules, not in scripts (as LevelEditorStart is expected to be called directly, not imported).
This commit is contained in:
Kyle Smith 2019-01-06 16:10:34 +10:00 committed by Sam Edwards
parent 58f6f61c4e
commit 294dc5fc40

View File

@ -1,4 +1,4 @@
from . import LevelEditor
from direct.leveleditor import LevelEditor
if __name__ == '__main__':
base.le = LevelEditor.LevelEditor()