1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-02-07 13:31:40 +02:00

Update fancy_time.lua

Added "local" in front of variable declaration
This commit is contained in:
Quadrum 2021-04-30 20:41:03 +02:00 committed by GitHub
parent 2ab536f1ab
commit 167e8c665a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,7 @@ end
--- Filters a fancy table for specific words. Entries within will be purged or kept based on the content and the filter mode
---@param mode <boolean> - True acts as whitelist, only time data in the filter will be kept. False acts a blacklist
function Public.filter_time(fancy_array, filter_words, mode)
filtered_array = {}
local filtered_array = {}
for i=1, #fancy_array, 1 do
local _subject = fancy_array[i]
local blacklist_match = false