Skip to content

Commit

Permalink
eh renamed var
Browse files Browse the repository at this point in the history
  • Loading branch information
uuuuhuuuu committed Nov 24, 2024
1 parent c179936 commit 733344d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions code/controllers/subsystem/minimap.dm
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ SUBSYSTEM_DEF(minimaps)
else if(faction == XENO_HIVE_NORMAL)
map_list = GLOB.xeno_svg_tacmap_data
else if(faction == FACTION_UPP)
map_list = GLOB.uscm_svg_tacmap_data
map_list = GLOB.upp_svg_tacmap_data
else
return null

Expand Down Expand Up @@ -746,7 +746,7 @@ SUBSYSTEM_DEF(minimaps)
owner = xeno_tacmap

/datum/tacmap/drawing/status_tab_view/upp/New()
var/datum/tacmap/drawing/status_tab_view/xeno/upp_tacmap
var/datum/tacmap/drawing/status_tab_view/upp/upp_tacmap
allowed_flags = MINIMAP_FLAG_UPP
owner = upp_tacmap

Expand Down
5 changes: 4 additions & 1 deletion code/modules/client/client_procs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,10 @@ GLOBAL_LIST_INIT(whitelisted_client_procs, list(
else if(href_list["MapView"])
if(isxeno(mob))
return
GLOB.uscm_tacmap_status.tgui_interact(mob)
if(mob.faction == FACTION_MARINE)
GLOB.uscm_tacmap_status.tgui_interact(mob)
if(mob.faction == FACTION_UPP)
GLOB.upp_tacmap_status.tgui_interact(mob)

//NOTES OVERHAUL
if(href_list["add_merit_info"])
Expand Down
1 change: 1 addition & 0 deletions code/modules/maptext_alerts/screen_alerts.dm
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@
ghost_user.join_as_alien()
if(NOTIFY_USCM_TACMAP)
GLOB.uscm_tacmap_status.tgui_interact(ghost_user)
GLOB.upp_tacmap_status.tgui_interact(ghost_user)

if(NOTIFY_XENO_TACMAP)
GLOB.xeno_tacmap_status.tgui_interact(ghost_user)
Expand Down
1 change: 1 addition & 0 deletions code/modules/mob/dead/observer/observer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@
join_as_alien()
if(href_list[NOTIFY_USCM_TACMAP])
GLOB.uscm_tacmap_status.tgui_interact(src)
GLOB.upp_tacmap_status.tgui_interact(src)
if(href_list[NOTIFY_XENO_TACMAP])
GLOB.xeno_tacmap_status.tgui_interact(src)

Expand Down

0 comments on commit 733344d

Please sign in to comment.