Partially revert "Nukes all of the OpenDream warnings (#17636)" (#18829)

This partially reverts commit 78dd376538.
This commit is contained in:
S34N
2022-08-16 22:06:40 +01:00
committed by GitHub
parent c4a3843da4
commit 3dfdd7483c
+2 -1
View File
@@ -45,7 +45,8 @@
/atom/serialize()
var/list/data = ..()
for(var/thing in vars_to_save())
data[thing] = vars[thing] // Can't check initial() because it doesn't work on a list index
if(vars[thing] != initial(vars[thing]))
data[thing] = vars[thing]
return data