mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-13 16:13:49 +01:00
Makes wounds take time to disappear again
This commit is contained in:
@@ -732,8 +732,8 @@ Note that amputating the affected organ does in fact remove the infection from t
|
||||
return
|
||||
|
||||
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
|
||||
if(W.damage <= 0)
|
||||
// wounds can disappear after 10 minutes at the earliest
|
||||
if(W.damage <= 0 && W.created + 10 MINUTES <= world.time)
|
||||
wounds -= W
|
||||
continue
|
||||
// let the GC handle the deletion of the wound
|
||||
|
||||
Reference in New Issue
Block a user