Skip to content

Commit

Permalink
Use loc instead of get_turf(src), as loc will always be a turf.
Browse files Browse the repository at this point in the history
  • Loading branch information
Absolucy committed Oct 23, 2024
1 parent 3259b4d commit 6f9d538
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
return existing_grille.rcd_vals(user, the_rcd)
return rcd_result_with_memory(
list("mode" = RCD_WINDOWGRILLE, "delay" = 1 SECONDS, "cost" = 4),
get_turf(src), RCD_MEMORY_WINDOWGRILLE,
loc, RCD_MEMORY_WINDOWGRILLE,
)

/obj/structure/window_sill/rcd_act(mob/user, obj/item/construction/rcd/the_rcd, passed_mode)
Expand Down

0 comments on commit 6f9d538

Please sign in to comment.