mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 03:25:49 +01:00
[REFACTOR] Helper proc for unbuckling a mob (#26918)
* Helper proc from unbuckling a mob * Rename to unbuckle * Minor fixes * Move buckled up /mob/living --------- Co-authored-by: Adrer <adrermail@gmail.com>
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
zomboid.suiciding = 0
|
||||
zomboid.set_nutrition(max(zomboid.nutrition, NUTRITION_LEVEL_HUNGRY))
|
||||
if(zomboid.buckled) //Unbuckle the mob and clear the alerts.
|
||||
zomboid.buckled.unbuckle_mob(src, force = TRUE)
|
||||
zomboid.unbuckle(force = TRUE)
|
||||
|
||||
var/datum/organ/heart/heart = zomboid.get_int_organ_datum(ORGAN_DATUM_HEART)
|
||||
var/heart_type = zomboid.dna?.species?.has_organ["heart"]
|
||||
|
||||
Reference in New Issue
Block a user