Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverCartz committed Jul 27, 2016
1 parent 02fdc51 commit f4a117d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions aimmo-game/simulation/world_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
TARGET_NUM_PICKUPS_PER_AVATAR = 0.5
PICKUP_SPAWN_CHANCE = 0.02

NO_FOG_OF_WAR_DISTIANCE = 2
PARTIAL_FOG_OF_WAR_DISTIANCE = 3
NO_FOG_OF_WAR_DISTANCE = 2
PARTIAL_FOG_OF_WAR_DISTANCE = 3


class HealthPickup(object):
Expand Down Expand Up @@ -159,10 +159,10 @@ def can_move_to(self, target_location):
return cell.habitable and not cell.avatar

def get_no_fog_distance(self):
return NO_FOG_OF_WAR_DISTIANCE
return NO_FOG_OF_WAR_DISTANCE

def get_partial_fog_distance(self):
return PARTIAL_FOG_OF_WAR_DISTIANCE
return PARTIAL_FOG_OF_WAR_DISTANCE

def __repr__(self):
return repr(self.grid)

0 comments on commit f4a117d

Please sign in to comment.