mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-14 18:39:27 -05:00
python3 compatibility + webapp to flask refactoring
This commit is contained in:
@@ -538,7 +538,10 @@ animations={
|
||||
},
|
||||
}
|
||||
|
||||
from projectiles import projectiles
|
||||
try:
|
||||
from projectiles import projectiles
|
||||
except:
|
||||
from design.projectiles import projectiles
|
||||
for id in projectiles:
|
||||
if projectiles[id].has_key("animation") and animations[projectiles[id]["animation"]].has_key("speed"):
|
||||
if "animation" in projectiles[id] and "speed" in animations[projectiles[id]["animation"]]:
|
||||
animations[projectiles[id]["animation"]]["speed"]=projectiles[id]["speed"]
|
||||
Reference in New Issue
Block a user