Skip to content

Commit

Permalink
namespace map script imports, revert renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Walladge committed Dec 21, 2017
1 parent 9abb9f4 commit 7d9750f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion piqueserver/config/config.json
Expand Up @@ -33,7 +33,7 @@
"cap_limit" : 10,
"default_time_limit" : 120,
"advance_on_win" : true,
"maps" : ["classicgen", "landscapegen"],
"maps" : ["classicgen", "random"],
"random_rotation" : false,

"respawn_time" : 16,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion piqueserver/map.py
Expand Up @@ -72,7 +72,7 @@ def load_information(self, rot_info, load_dir):
self.load_dir = load_dir
try:
info = imp.load_source(
rot_info.name, rot_info.get_meta_filename(load_dir))
'piqueserver_internal_map_' + rot_info.name, rot_info.get_meta_filename(load_dir))
except IOError:
info = None
self.info = info
Expand Down

0 comments on commit 7d9750f

Please sign in to comment.