Skip to content

Commit

Permalink
Small fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
djgroen committed Nov 23, 2023
1 parent ff43af3 commit b19115c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flee/spawning.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ def spawn_daily_displaced(e, t, d):

num_spawned = 0

#print(e.locations[i].attributes)
flood_level = e.locations[i].attributes.get(["flood_level"],0)
print(e.locations[i].attributes, file=sys.stderr)
flood_level = e.locations[i].attributes.get("flood_level",0)
if flood_level > 0:
## BASE RATES
if SimulationSettings.spawn_rules["flood_spawn_mode"] == "constant":
Expand Down

0 comments on commit b19115c

Please sign in to comment.