Skip to content

Commit

Permalink
fix wrong component name
Browse files Browse the repository at this point in the history
  • Loading branch information
bgkillas committed Nov 2, 2024
1 parent ee65ed4 commit ca0ab2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quant.ew/files/system/notplayer_ai/notplayer_ai.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca0ab2e

Please sign in to comment.