Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Saludame.activity/utilities.py
diff options
context:
space:
mode:
Diffstat (limited to 'Saludame.activity/utilities.py')
-rwxr-xr-xSaludame.activity/utilities.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Saludame.activity/utilities.py b/Saludame.activity/utilities.py
index 104c802..5029926 100755
--- a/Saludame.activity/utilities.py
+++ b/Saludame.activity/utilities.py
@@ -58,6 +58,6 @@ def verify_path(action, game_manager):
return check_directory("%s/%s/%s" % (game_manager.character.mood.kid_animation_path, game_manager.character.sex, action.effect.clothes_id))
if isinstance(action.effect, effects.LocationEffect): # If the action has location effects
- return check_image(game_manager.environments_dictionary[action.effect.place_id + "_" + game_manager.current_weather].background_path)
+ return check_image(game_manager.environments_dictionary[(action.effect.place_id, game_manager.current_weather)].background_path)
return True