diff --git a/Makefile b/Makefile index cb93d85..6163534 100644 --- a/Makefile +++ b/Makefile @@ -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) diff --git a/libs/region.lua b/libs/region.lua index 6e6cb55..54f6d91 100644 --- a/libs/region.lua +++ b/libs/region.lua @@ -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] @@ -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