Skip to content

Commit

Permalink
eh
Browse files Browse the repository at this point in the history
  • Loading branch information
Helg2 committed Jul 29, 2024
1 parent e58c204 commit 5ed0258
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions code/__DEFINES/obj_flags.dm
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
// Flags for the obj_flags var on /obj

#define IN_USE (1<<0) // If we have a user using us, this will be set on. We will check if the user has stopped using us, and thus stop updating and LAGGING EVERYTHING!
#define CAN_BE_HIT (1<<1) //can this be bludgeoned by items?
#define PROJ_IGNORE_DENSITY (1<<2) // If non-dense structures can still get hit by projectiles
#define LIGHT_CAN_BE_SHUT (1<<3) // Is sensible to nightfall ability, and its light will be turned off
///If we have a user using us, this will be set on. We will check if the user has stopped using us, and thus stop updating and LAGGING EVERYTHING!
#define IN_USE (1<<0)
///can this be bludgeoned by items?
#define CAN_BE_HIT (1<<1)
///If non-dense structures can still get hit by projectiles
#define PROJ_IGNORE_DENSITY (1<<2)
///Is sensible to nightfall ability, and its light will be turned off
#define LIGHT_CAN_BE_SHUT (1<<3)

//Fire and Acid stuff, for resistance_flags
#define INDESTRUCTIBLE (1<<0) //doesn't take damage
Expand Down
2 changes: 1 addition & 1 deletion code/controllers/subsystem/minimaps.dm
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ SUBSYSTEM_DEF(minimaps)
for(var/datum/minimap_updator/updator AS in update_targets["[flag]"])
if(updator.ztarget == target_turf.z)
updator.raw_blips -= blip
blip.UnregisterSignal(target, COMSIG_MOVABLE_MOVED)
blip?.UnregisterSignal(target, COMSIG_MOVABLE_MOVED)
removal_cbs -= target

/**
Expand Down

0 comments on commit 5ed0258

Please sign in to comment.