Skip to content
This repository has been archived by the owner on Nov 21, 2017. It is now read-only.

Commit

Permalink
Remove debug code that should not have been released
Browse files Browse the repository at this point in the history
  • Loading branch information
Afforess committed Mar 27, 2016
1 parent 56f5302 commit a6f9342
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PACKAGE_NAME := Misanthrope
VERSION_STRING := 0.3.0
VERSION_STRING := 0.3.1

OUTPUT_NAME := $(PACKAGE_NAME)_$(VERSION_STRING)
OUTPUT_DIR := build/$(OUTPUT_NAME)
Expand Down
5 changes: 1 addition & 4 deletions libs/region.lua
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function region.update_biter_base_locations(region_data)
end
end
end

-- recalculate base position based on center of spawners
for i = #region_data.enemy_bases, 1, -1 do
local base = region_data.enemy_bases[i]
Expand All @@ -180,9 +180,6 @@ end

function region.get_player_target_cache(region_data)
local cache = region_data.player_target_cache
if cache and cache.calculated_at < 23750000 then
cache = nil
end
if cache == nil then
cache = player_target_cache.new(region_data)
region_data.player_target_cache = cache
Expand Down

0 comments on commit a6f9342

Please sign in to comment.