mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 23:14:18 +01:00
Fix parallax (#2983)
changes: Parallax now actually moves properly on Move(). Parallax movement can now be toggled as a preference. Merged all movable/Move() overrides for performance reasons.
This commit is contained in:
@@ -111,6 +111,9 @@
|
||||
var/client/C = mymob.client
|
||||
if(!SSparallax.parallax_initialized)
|
||||
return
|
||||
|
||||
if (C.prefs.parallax_togs & PARALLAX_IS_STATIC)
|
||||
return
|
||||
|
||||
//ACTUALLY MOVING THE PARALLAX
|
||||
var/turf/posobj = C.eye ? C.eye:loc : C.mob:loc
|
||||
|
||||
Reference in New Issue
Block a user