mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 05:23:22 +01:00
TGUI bug roundup part 6 (#16630)
* taj chat colours * ah, I finally said it for real - I love you * cl * lost my halo, now I'm my own antichrist * and I say hey... * doing htat is probably a good idea --------- Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -44,7 +44,8 @@
|
||||
data["platform_directions"] = list("NORTH", "NORTHEAST", "EAST", "SOUTHEAST", "SOUTH", "SOUTHWEST", "WEST", "NORTHWEST")
|
||||
if(linked.targeting)
|
||||
for(var/obj/machinery/ship_weapon/SW in linked.ship_weapons)
|
||||
data["guns"] += list(get_gun_data(SW))
|
||||
if(!SW.special_firing_mechanism)
|
||||
data["guns"] += list(get_gun_data(SW))
|
||||
data["targeting"] = list(
|
||||
"name" = linked.targeting.name,
|
||||
"shiptype" = linked.targeting.shiptype,
|
||||
@@ -112,7 +113,10 @@
|
||||
if(!params["entrypoint"])
|
||||
return
|
||||
var/our_entrypoint = params["entrypoint"]
|
||||
selected_entrypoint = names_to_entries[our_entrypoint]
|
||||
if(our_entrypoint == SHIP_HAZARD_TARGET)
|
||||
selected_entrypoint = our_entrypoint
|
||||
else
|
||||
selected_entrypoint = names_to_entries[our_entrypoint]
|
||||
. = TRUE
|
||||
|
||||
if("select_gun")
|
||||
|
||||
Reference in New Issue
Block a user