Skip to content

Commit

Permalink
515 you're weird
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar committed Jun 29, 2023
1 parent 297e909 commit 1d618b8
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
return

var/obj/effect/alien/weeds/weed = node || locate() in turf
if (weed && weed.weed_strength >= WEED_LEVEL_HIVE)
if(weed && weed.weed_strength >= WEED_LEVEL_HIVE)
to_chat(xeno, SPAN_WARNING("These weeds are too strong to plant a node on!"))
return

Expand All @@ -65,11 +65,11 @@
var/obj/effect/alien/weeds/node/new_node = new node_type(xeno.loc, src, xeno)

if(to_convert)
for(var/weed in to_convert)
var/turf/target_turf = get_turf(weed)
for(var/cur_weed in to_convert)
var/turf/target_turf = get_turf(cur_weed)
if(target_turf && !target_turf.density)
new /obj/effect/alien/weeds(target_turf, new_node)
qdel(weed)
qdel(cur_weed)

playsound(xeno.loc, "alien_resin_build", 25)
apply_cooldown()
Expand Down

0 comments on commit 1d618b8

Please sign in to comment.