Skip to content

Commit 315322e

Browse files
committed
fixes #22
1 parent 8666d02 commit 315322e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugins/flatworld.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ def run(self): #executed after gui
4747

4848
def gen_gui(self):
4949
#get theme, language and end process function from omnitool API
50-
from ..shared import lang, theme, exit_prog, exit_prog
51-
from ..pgu_override import Quitbutton
50+
from omnitool.shared import lang, theme, exit_prog, exit_prog
51+
from omnitool.pgu_override import Quitbutton
5252

5353
#initilize pygame renderer
5454
pygame.display.init()
@@ -115,8 +115,8 @@ def gen_gui(self):
115115
pygame.display.quit()
116116
#attach data to plugin, to be used in run()
117117
self.surface = sur.value
118-
self.wall = walls.value
119-
self.tile = tiles.value
118+
self.wall = guiwalls.value
119+
self.tile = tiles_.value
120120
self.size = size.value
121121
if self.wall == 0:
122122
self.wall = None

0 commit comments

Comments
 (0)