mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-27 22:57:15 +01:00
Merge remote-tracking branch 'upstream/master' into upstream-merge
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user