No more lighting overlays

This commit is contained in:
Crazylemon64
2016-08-03 19:44:47 -07:00
parent 05a95086bd
commit 2f3e529db0
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -13,6 +13,7 @@
var/germ_level = GERM_LEVEL_AMBIENT // The higher the germ level, the more germ on the atom.
var/simulated = 1 //filter for actions - used by lighting overlays
var/atom_say_verb = "says"
var/dont_save = 0 // For atoms that are temporary by necessity - like lighting overlays
///Chemistry.
var/datum/reagents/reagents = null
@@ -120,10 +120,14 @@ dmm_suite{
var/area_template = ""
if(!(flags & DMM_IGNORE_OBJS)){
for(var/obj/O in model.contents){
if(O.dont_save)
continue
obj_template += "[O.type][check_attributes(O,use_json=use_json)],"
}
}
for(var/mob/M in model.contents){
if(O.dont_save)
continue
if(M.client){
if(!(flags & DMM_IGNORE_PLAYERS)){
mob_template += "[M.type][check_attributes(M,use_json=use_json)],"