Skip to content

Commit

Permalink
middle click delete xeno
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf committed Oct 26, 2023
1 parent 8e10cca commit 38055c4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/modules/admin/game_master/game_master.dm
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,11 @@ GLOBAL_VAR_INIT(radio_communication_clarity, 100)

switch(current_click_intercept_action)
if(SPAWN_CLICK_INTERCEPT_ACTION)
if(LAZYACCESS(modifiers, MIDDLE_CLICK))
if(isxeno(object))
qdel(object)
return

var/spawning_xeno_type = RoleAuthority.get_caste_by_text(selected_xeno)

if(!spawning_xeno_type)
Expand Down

0 comments on commit 38055c4

Please sign in to comment.