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:
parent
30d7dcb7df
commit
8fe6319742
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user