Skip to content

Commit

Permalink
Fix hugger death timer exploit
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar committed Jul 25, 2023
1 parent 16c8952 commit aedfe9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/modules/mob/living/carbon/xenomorph/xeno_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1054,6 +1054,7 @@
hugger.visible_message(SPAN_XENODANGER("A facehugger suddenly emerges out of \the [A]!"), SPAN_XENODANGER("You emerge out of \the [A] and awaken from your slumber. For the Hive!"))
playsound(hugger, 'sound/effects/xeno_newlarva.ogg', 25, TRUE)
hugger.generate_name()
hugger.timeofdeath = user.timeofdeath // Keep old death time

/datum/hive_status/proc/update_lesser_drone_limit()
lesser_drone_limit = Ceiling(totalXenos.len / 3)
Expand Down

0 comments on commit aedfe9c

Please sign in to comment.