mirror of
				https://github.com/MarioSpore/Grinch-AP.git
				synced 2025-10-21 20:21:32 -06:00 
			
		
		
		
	Core: allow loading worlds from zip modules (#747)
* Core: allow loading worlds from zip modules RoR2: make it zipimport compatible (remove relative imports beyond local top-level) * WebHost: add support for .apworld
This commit is contained in:
		| @@ -1,5 +1,5 @@ | ||||
| from BaseClasses import MultiWorld | ||||
| from ..generic.Rules import set_rule, add_rule | ||||
| from worlds.generic.Rules import set_rule, add_rule | ||||
|  | ||||
|  | ||||
| def set_rules(world: MultiWorld, player: int): | ||||
|   | ||||
| @@ -5,7 +5,7 @@ from .Rules import set_rules | ||||
|  | ||||
| from BaseClasses import Region, RegionType, Entrance, Item, ItemClassification, MultiWorld, Tutorial | ||||
| from .Options import ror2_options | ||||
| from ..AutoWorld import World, WebWorld | ||||
| from worlds.AutoWorld import World, WebWorld | ||||
|  | ||||
| client_version = 1 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Fabian Dill
					Fabian Dill