Skip to content

Commit

Permalink
Update squads.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGamerdk committed Sep 8, 2023
1 parent 30a350e commit fba043f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion code/game/jobs/job/marine/squads.dm
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@

var/minimap_color = MINIMAP_SQUAD_UNKNOWN

///Should we add the name of our squad in front of their name? Ex: Alpha Hospital Corpsman
var/prepend_squad_name_to_assignment = TRUE


/datum/squad/marine
name = "Root"
Expand Down Expand Up @@ -183,6 +186,7 @@
radio_freq = null

roundstart = FALSE
prepend_squad_name_to_assignment = FALSE

/datum/squad/marine/sof
name = SQUAD_SOF
Expand Down Expand Up @@ -504,7 +508,10 @@
marines_list += M
M.assigned_squad = src //Add them to the squad
C.access += (src.access + extra_access) //Add their squad access to their ID
C.assignment = "[name] [assignment]"
if(prepend_squad_name_to_assignment)
C.assignment = "[name] [assignment]"
else
C.assignment = assignment

SEND_SIGNAL(M, COMSIG_SET_SQUAD)

Expand Down

0 comments on commit fba043f

Please sign in to comment.