Skip to content

Commit

Permalink
fixes #22
Browse files Browse the repository at this point in the history
  • Loading branch information
Berserker66 committed Sep 11, 2015
1 parent 8666d02 commit 315322e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugins/flatworld.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ def run(self): #executed after gui

def gen_gui(self):
#get theme, language and end process function from omnitool API
from ..shared import lang, theme, exit_prog, exit_prog
from ..pgu_override import Quitbutton
from omnitool.shared import lang, theme, exit_prog, exit_prog
from omnitool.pgu_override import Quitbutton

#initilize pygame renderer
pygame.display.init()
Expand Down Expand Up @@ -115,8 +115,8 @@ def gen_gui(self):
pygame.display.quit()
#attach data to plugin, to be used in run()
self.surface = sur.value
self.wall = walls.value
self.tile = tiles.value
self.wall = guiwalls.value
self.tile = tiles_.value
self.size = size.value
if self.wall == 0:
self.wall = None
Expand Down

0 comments on commit 315322e

Please sign in to comment.