1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-10 00:43:27 +02:00
Commit Graph

10 Commits

Author SHA1 Message Date
Gerkiz
746d86f89f AG - more checks. 2022-08-01 22:23:39 +02:00
Gerkiz
a8bbfcfbc9 Antigrief - fix deconstruct bug 2022-07-20 00:40:38 +02:00
Gerkiz
f2baab5978 minor changes 2022-07-10 19:42:07 +02:00
Gerkiz
2428a6d3a2 Luacheck happy 2022-07-04 00:28:30 +02:00
Gerkiz
aea19abe17 AG - add decon handler 2022-07-04 00:27:35 +02:00
Gerkiz
86ae1d5c9b fix lua tooltip warnings 2022-04-07 16:11:57 +02:00
Quadrum
eeb739a9ae
Make luacheck happy 2022-01-24 20:46:37 +01:00
Quadrum
7c202dcb76
Fix serious error
Error was in --Friendly Fire History -> local function on_entity_died(event)

There is a unique case, when an item dies and is not within blacklisted_types (belts and so on), but is within the whitelist_types array (I would guess this is for trees?), the friendy_fire history is incremented, but not checked for a limit.

Previously, this was a none-issue, as the list would be cleared when any other case is trigger. Now, however, only 1 log entry is deleted when it overflows, and only without that case. So every time somebody triggers that special case, by lets say destroying a tree, the array is increased by one without removing the first entry.

This should hopefully fix that.
2022-01-24 20:35:51 +01:00
Quadrum
02f6479019
Add overflow for history arrays 2022-01-19 21:16:35 +01:00
Gerkiz
966dcf220a Move files in main folder to utils 2021-12-05 22:15:49 +01:00