Merge remote-tracking branch 'upstream/master' into upstream-merge

This commit is contained in:
BongaTheProto
2024-04-06 19:06:12 -05:00
9 changed files with 27 additions and 24 deletions
+1 -1
View File
@@ -39,7 +39,7 @@
attached_atoms[target]++
/datum/element/photosynthesis/Detach(datum/target)
if(attached_atoms)
if(attached_atoms && LAZYLEN(attached_atoms))
attached_atoms[target]--
if(!attached_atoms[target])
attached_atoms -= target