mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-16 10:27:14 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user