mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Revert "[MIRROR] Makes wounds disappear"
This commit is contained in:
@@ -595,8 +595,6 @@ This function completely restores a damaged organ to perfect condition.
|
|||||||
return 1
|
return 1
|
||||||
else
|
else
|
||||||
last_dam = brute_dam + burn_dam
|
last_dam = brute_dam + burn_dam
|
||||||
if (number_wounds != 0)
|
|
||||||
return 1
|
|
||||||
if(germ_level)
|
if(germ_level)
|
||||||
return 1
|
return 1
|
||||||
return 0
|
return 0
|
||||||
@@ -733,8 +731,8 @@ Note that amputating the affected organ does in fact remove the infection from t
|
|||||||
return
|
return
|
||||||
|
|
||||||
for(var/datum/wound/W in wounds)
|
for(var/datum/wound/W in wounds)
|
||||||
// wounds used to be able to disappear after 10 minutes at the earliest, for now just remove them as soon as there is no damage
|
// wounds can disappear after 10 minutes at the earliest
|
||||||
if(W.damage <= 0)
|
if(W.damage <= 0 && W.created + 10 * 10 * 60 <= world.time)
|
||||||
wounds -= W
|
wounds -= W
|
||||||
continue
|
continue
|
||||||
// let the GC handle the deletion of the wound
|
// let the GC handle the deletion of the wound
|
||||||
|
|||||||
Reference in New Issue
Block a user