mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Merge pull request #5828 from VOREStation/upstream-merge-6446
[MIRROR] Fixes solar panel assembly dupe
This commit is contained in:
@@ -253,6 +253,7 @@ GLOBAL_LIST_EMPTY(solars_list)
|
|||||||
new /obj/machinery/power/tracker(get_turf(src), src)
|
new /obj/machinery/power/tracker(get_turf(src), src)
|
||||||
else
|
else
|
||||||
new /obj/machinery/power/solar(get_turf(src), src)
|
new /obj/machinery/power/solar(get_turf(src), src)
|
||||||
|
qdel(src)
|
||||||
else
|
else
|
||||||
to_chat(user, "<span class='warning'>You need two sheets of glass to put them into a solar panel.</span>")
|
to_chat(user, "<span class='warning'>You need two sheets of glass to put them into a solar panel.</span>")
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user