Fixes AOE modkits not working because I messed up the logic (#1400)
This commit is contained in:
committed by
kevinz000
parent
eeda9fd77f
commit
c36e599a6a
@@ -313,7 +313,7 @@
|
||||
. = ..()
|
||||
if(.)
|
||||
for(var/obj/item/borg/upgrade/modkit/aoe/AOE in KA.modkits) //make sure only one of the aoe modules has values if somebody has multiple
|
||||
if(AOE.stats_stolen)
|
||||
if(AOE.stats_stolen || AOE == src)
|
||||
continue
|
||||
modifier += AOE.modifier //take its modifiers
|
||||
AOE.modifier = 0
|
||||
|
||||
Reference in New Issue
Block a user