Skip to content

Commit

Permalink
alt+click lets you select all beenos on current z
Browse files Browse the repository at this point in the history
  • Loading branch information
xDanilcusx committed Apr 3, 2024
1 parent baae000 commit b5fa8d2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions code/modules/admin/game_master/game_master.dm
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,13 @@ GLOBAL_VAR_INIT(radio_communication_clarity, 100)

return TRUE

if(LAZYACCESS(modifiers, ALT_CLICK))
for(var/atom/selected_xeno in GLOB.xeno_mob_list)
if(selected_xeno.z != game_master_client.mob.z)
continue
select_xeno(selected_xeno)
return TRUE

if(!LAZYACCESS(modifiers, SHIFT_CLICK))
for(var/deselected_xeno in controlled_xenos)
deselect_xeno(deselected_xeno)
Expand Down

0 comments on commit b5fa8d2

Please sign in to comment.