1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-06 00:23:49 +02:00

removal of whitespace and make luacheck happy

This commit is contained in:
Gerkiz 2021-07-14 22:15:14 +02:00 committed by GitHub
parent f40c8ed9bb
commit fa528af813
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ function Public.update_spell_gui(player, spell_index)
spell_table['mana-cost'].caption = spells[rpg_t.dropdown_select_index].mana_cost
spell_table['mana'].caption = math.floor(rpg_t.mana)
spell_table['maxmana'].caption = math.floor(rpg_t.mana_max)
Public.update_spell_gui_indicator(player)
end
@ -137,7 +137,7 @@ function Public.spell_gui_settings(player)
tooltip = names[rpg_t.dropdown_select_index3] or '---'
}
)
table.add({type = 'sprite-button', name = 'indicator', enabled = false})
local b1 = table.add({type = 'sprite-button', name = 'mana-cost', tooltip = {'rpg_settings.mana_cost'}, caption = 0})
local b2 = table.add({type = 'sprite-button', name = 'mana', tooltip = {'rpg_settings.mana'}, caption = 0})