1
0
mirror of https://github.com/veden/Rampant.git synced 2025-01-28 03:29:34 +02:00

fixed surface deletion indexing nil

This commit is contained in:
Aaron Veden 2021-12-27 11:18:35 -08:00
parent 30d7dcb7df
commit 8fe6319742
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ Date: 17. 12. 2021
Bugfixes:
- Fixed onBuilderArrived if the builder was a unit and not a group (Thanks DBotThePony for reporting)
- Fixed adding player to chunk crash
- Fixed surface deletion with chunk processor indexing nil
---------------------------------------------------------------------------------------------------
Version: 2.0.3

View File

@ -88,6 +88,7 @@ function chunkProcessor.processPendingChunks(universe, tick, flush)
pendingChunks[eventId] = nil
local map = event.map
if not map.surface.valid then
universe.chunkProcessorIterator = newEventId
return
end