mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
fix wrong component name
This commit is contained in:
parent
ee65ed42cb
commit
ca0ab2edfe
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ local function find_new_wand()
|
|||
if not state.is_electric_immune
|
||||
and ComponentGetValue2(state.damage_model, "mLiquidCount") > 10 and
|
||||
(EntityGetFirstComponent(child, "ElectricChargeComponent") ~= nil
|
||||
or EntityGetFirstComponent(child, "ElectricSourceComponent") ~= nil) then
|
||||
or EntityGetFirstComponent(child, "ElectricitySourceComponent") ~= nil) then
|
||||
if state.bad_wands[state.target or 1] == nil then
|
||||
state.bad_wands[state.target or 1] = {}
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue