Fixes some ship weapon bugs. (#15035)

* Fixes some ship weapon bugs.

* missed entry

* list sort

* cl + fix

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2022-11-06 18:24:51 +01:00
committed by GitHub
parent 592ae59940
commit ee4e9000f0
10 changed files with 135 additions and 67 deletions
+3
View File
@@ -54,6 +54,9 @@
var/obj/machinery/computer/ship/targeting/GS = H.machine
if(GS.targeting)
return
if(!istype(GS.connected.loc, /turf/unsimulated/map))
to_chat(H, SPAN_WARNING("The safeties won't let you target while you're not on the Overmap!"))
return
var/my_sector = map_sectors["[H.z]"]
if(istype(my_sector, /obj/effect/overmap/visitable))
var/obj/effect/overmap/visitable/V = my_sector