mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 23:48:28 +01:00
Removes a variable that is only set once (#25003)
* One of the variables of all time * Oyu review
This commit is contained in:
@@ -139,23 +139,11 @@
|
||||
// Objects loop
|
||||
if(!(flags & DMM_IGNORE_OBJS))
|
||||
for(var/obj/O in model.contents)
|
||||
if(O.dont_save || QDELETED(O))
|
||||
if(QDELETED(O))
|
||||
continue
|
||||
|
||||
obj_template += "[O.type][check_attributes(O,use_json=use_json)],"
|
||||
|
||||
// Mobs Loop
|
||||
for(var/mob/M in model.contents)
|
||||
if(M.dont_save || QDELETED(M))
|
||||
continue
|
||||
|
||||
if(M.client)
|
||||
if(!(flags & DMM_IGNORE_PLAYERS))
|
||||
mob_template += "[M.type][check_attributes(M,use_json=use_json)],"
|
||||
else
|
||||
if(!(flags & DMM_IGNORE_NPCS))
|
||||
mob_template += "[M.type][check_attributes(M,use_json=use_json)],"
|
||||
|
||||
// Area
|
||||
if(!(flags & DMM_IGNORE_AREAS))
|
||||
var/area/m_area = model.loc
|
||||
|
||||
Reference in New Issue
Block a user