mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-20 03:29:47 +02:00
Rpg - fix weird spell gui
This commit is contained in:
parent
2f413c3c17
commit
e3875bee28
@ -1258,7 +1258,8 @@ function Public.get_all_spells_filtered(rpg_t)
|
||||
local spell_names = {}
|
||||
|
||||
for i = 1, #spells do
|
||||
if spells[i].enabled and rpg_t and rpg_t.level >= spells[i].level then
|
||||
-- if spells[i].enabled and rpg_t and rpg_t.level >= spells[i].level then -- this needs fixing.
|
||||
if spells[i].enabled then
|
||||
new_spells[#new_spells + 1] = spells[i]
|
||||
spell_names[#spell_names + 1] = spells[i].name
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user