Skip to content

Commit

Permalink
Fix deleting xeno tacmaps
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar committed Oct 16, 2023
1 parent 644a988 commit 942ae03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/admin/tacmap_panel/tacmap_admin_panel_tgui.dm
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ GLOBAL_DATUM_INIT(tacmap_admin_panel, /datum/tacmap_admin_panel, new)
else
if(xeno_selection == -1)
return TRUE
selected_svg = GLOB.uscm_svg_tacmap_data[xeno_selection + 1]
selected_svg = GLOB.xeno_svg_tacmap_data[xeno_selection + 1]
selected_svg.svg_data = null
last_update_time = world.time
message_admins("[key_name_admin(usr)] deleted the <a href='?tacmaps_panel=1'>tactical map drawing</a> by [selected_svg.ckey].")
Expand Down

0 comments on commit 942ae03

Please sign in to comment.