Skip to content

Commit

Permalink
Use drop_location, not loc
Browse files Browse the repository at this point in the history
  • Loading branch information
Absolucy committed Dec 2, 2024
1 parent dcf748b commit fa2ac74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/hydroponics/grown/towercap.dm
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@
plank_count += round(seed.potency / 25)

user.balloon_alert(user, "made [plank_count] [plank_name]")
new plank_type(user.loc, plank_count)
new plank_type(user.drop_location(), plank_count)
qdel(src)
return

if(CheckAccepted(attacking_item))
var/obj/item/food/grown/leaf = attacking_item
if(HAS_TRAIT(leaf, TRAIT_DRIED))
user.balloon_alert(user, "torch crafted")
var/obj/item/flashlight/flare/torch/new_torch = new /obj/item/flashlight/flare/torch(user.loc)
var/obj/item/flashlight/flare/torch/new_torch = new /obj/item/flashlight/flare/torch(user.drop_location())
user.dropItemToGround(attacking_item)
user.put_in_active_hand(new_torch)
qdel(leaf)
Expand Down

0 comments on commit fa2ac74

Please sign in to comment.