Minor parallax performance tweaks (#2967)

Speeds up parallax's update-values proc a little, but not much.
This commit is contained in:
Lohikar
2017-07-09 00:25:12 +03:00
committed by skull132
parent 33c61f9f1e
commit d3c3377f13
2 changed files with 29 additions and 24 deletions
+2 -1
View File
@@ -66,7 +66,8 @@
////////////
var/list/parallax = list()
var/list/parallax_movable = list()
var/list/parallax_offset = list()
var/parallax_offset_x = 0
var/parallax_offset_y = 0
var/turf/previous_turf = null
var/obj/screen/plane_master/parallax_master/parallax_master = null
var/obj/screen/plane_master/parallax_dustmaster/parallax_dustmaster = null