Update simulated var to bay12 refactors

This commit refactors the simulated var to a missed update from bay12,
which prevents the singularity or explosions from breaking lighting.
This commit is contained in:
Tigercat2000
2015-05-13 07:30:07 -07:00
parent ed8e0c7581
commit 5b7ec52ecd
3 changed files with 10 additions and 4 deletions
+3 -2
View File
@@ -14,6 +14,7 @@ var/global/list/ghdel_profiling = list()
var/pass_flags = 0
var/throwpass = 0
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
///Chemistry.
var/datum/reagents/reagents = null
@@ -244,8 +245,8 @@ its easier to just keep the beam vertical.
/atom/proc/relaymove()
return
//called to set the atom's dir and used to add behaviour to dir-changes - Not fully used (yet)
//called to set the atom's dir and used to add behaviour to dir-changes - Not fully used (yet)
/atom/proc/set_dir(new_dir)
. = new_dir != dir
dir = new_dir
+1 -2
View File
@@ -14,7 +14,6 @@
var/no_spin = 0
var/moved_recently = 0
var/mob/pulledby = null
var/simulated //filter for actions - used by lighting overlays
var/area/areaMaster
var/hard_deleted = 0
@@ -269,4 +268,4 @@
return 1
/atom/movable/proc/water_act(var/volume, var/temperature, var/source) //amount of water acting : temperature of water in kelvin : object that called it (for shennagins)
return 1
return 1