Skip to content

Commit

Permalink
Can no longer bypass lesser drone limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben10083 committed Jul 28, 2023
1 parent 0a3214e commit b7656c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/modules/mob/living/carbon/xenomorph/xeno_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1082,11 +1082,11 @@
if(islesserdrone(mob))
current_lesser_drone_count++

if(lesser_drone_limit <= current_lesser_drone_count)
to_chat(user, SPAN_WARNING("[GLOB.hive_datum[hivenumber]] cannot support more lesser drones! Limit: <b>[current_lesser_drone_count]/[lesser_drone_limit]</b>"))
if(tgui_alert(user, "Are you sure you want to become a lesser drone?", "Confirmation", list("Yes", "No")) != "Yes")
return FALSE

if(tgui_alert(user, "Are you sure you want to become a lesser drone?", "Confirmation", list("Yes", "No")) != "Yes")
if(lesser_drone_limit <= current_lesser_drone_count)
to_chat(user, SPAN_WARNING("[GLOB.hive_datum[hivenumber]] cannot support more lesser drones! Limit: <b>[current_lesser_drone_count]/[lesser_drone_limit]</b>"))
return FALSE

if(!user.client)
Expand Down

0 comments on commit b7656c9

Please sign in to comment.