mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 22:18:27 +01:00
Merge pull request #7534 from VOREStation/aro-moverework
Rewrite client/Move() for smoother movement ingame
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
/atom/movable
|
||||
layer = OBJ_LAYER
|
||||
appearance_flags = TILE_BOUND|PIXEL_SCALE
|
||||
var/last_move = null
|
||||
glide_size = 8
|
||||
var/last_move = null //The direction the atom last moved
|
||||
var/anchored = 0
|
||||
// var/elevation = 2 - not used anywhere
|
||||
var/moving_diagonally
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
do_reagent_implant(usr)
|
||||
|
||||
/mob/living/carbon/human/proc/do_reagent_implant(var/mob/living/carbon/human/user = usr)
|
||||
if(!isliving(user) || !user.canClick())
|
||||
if(!isliving(user) || !user.checkClickCooldown())
|
||||
return
|
||||
|
||||
if(user.incapacitated() || user.stat > CONSCIOUS)
|
||||
|
||||
@@ -157,9 +157,7 @@ var/const/enterloopsanity = 100
|
||||
|
||||
if(ismob(A))
|
||||
var/mob/M = A
|
||||
if(!M.lastarea)
|
||||
M.lastarea = get_area(M.loc)
|
||||
if(M.lastarea.has_gravity == 0)
|
||||
if(M.lastarea?.has_gravity == 0)
|
||||
inertial_drift(M)
|
||||
if(M.flying) //VORESTATION Edit Start. This overwrites the above is_space without touching it all that much.
|
||||
inertial_drift(M)
|
||||
|
||||
Reference in New Issue
Block a user