Merge pull request #6446 from Heroman3003/solarfix

Fixes solar panel assembly dupe
This commit is contained in:
Atermonera
2019-09-07 23:34:46 -04:00
committed by VirgoBot
parent 0606daf25b
commit 3c36be2390
+1
View File
@@ -253,6 +253,7 @@ GLOBAL_LIST_EMPTY(solars_list)
new /obj/machinery/power/tracker(get_turf(src), src)
else
new /obj/machinery/power/solar(get_turf(src), src)
qdel(src)
else
to_chat(user, "<span class='warning'>You need two sheets of glass to put them into a solar panel.</span>")
return