Merge pull request #1759 from TotallyNotADog/fixDecayDisk

fixes decay disk upgrade check
This commit is contained in:
Dahlular
2024-01-15 19:21:44 -07:00
committed by GitHub
+1 -1
View File
@@ -673,7 +673,7 @@
primetime = 10
return TRUE
if(istype(I, /obj/item/disk/medical/defib_decay))
if(!timedeath == initial(timedeath))
if(timedeath != initial(timedeath))
to_chat(user, "<span class='notice'>This unit is already upgraded with this disk!</span>")
return TRUE
to_chat(user, "<span class='notice'>You upgrade the unit with Longer Decay upgrade disk!</span>")