// Function from file: lighting_system.dm public virtual bool Moved(Ent_Static OldLoc = null, int?Dir = null) { if (this.loc is Tile) { if (this.opacity) { OldLoc.UpdateAffectingLights(); } else if (this.light != null) { this.light.f_changed(); } } return(this._internal_Moved(OldLoc, Dir)); }