mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
[MIRROR] Fixes infinite, (almost) free wound treatment with stacked medical items (#1006)
* Fixes infinite, (almost) free wound treatment with stacked medical items (#53973) * Fixes infinite, (almost) free wound treatment with stacked medical items Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
This commit is contained in:
@@ -255,7 +255,7 @@
|
||||
*/
|
||||
/datum/wound/proc/try_treating(obj/item/I, mob/user)
|
||||
// first we weed out if we're not dealing with our wound's bodypart, or if it might be an attack
|
||||
if(!I || limb.body_zone != user.zone_selected || (I.force && user.a_intent != INTENT_HELP))
|
||||
if(QDELETED(I) || limb.body_zone != user.zone_selected || (I.force && user.a_intent != INTENT_HELP))
|
||||
return FALSE
|
||||
|
||||
var/allowed = FALSE
|
||||
|
||||
Reference in New Issue
Block a user