Merge pull request #12948 from Hatterhat/windows
[speedmerge? it's not that bad i swear] directional window rotation fix
This commit is contained in:
@@ -98,16 +98,16 @@
|
|||||||
|
|
||||||
/datum/component/simple_rotation/proc/HandRot(datum/source, mob/user, rotation = default_rotation_direction)
|
/datum/component/simple_rotation/proc/HandRot(datum/source, mob/user, rotation = default_rotation_direction)
|
||||||
if(can_be_rotated)
|
if(can_be_rotated)
|
||||||
if(!can_be_rotated.Invoke(user, default_rotation_direction))
|
if(!can_be_rotated.Invoke(user, rotation))
|
||||||
return
|
return
|
||||||
else
|
else
|
||||||
if(!default_can_be_rotated(user, default_rotation_direction))
|
if(!default_can_be_rotated(user, rotation))
|
||||||
return
|
return
|
||||||
if(can_user_rotate)
|
if(can_user_rotate)
|
||||||
if(!can_user_rotate.Invoke(user, default_rotation_direction))
|
if(!can_user_rotate.Invoke(user, rotation))
|
||||||
return
|
return
|
||||||
else
|
else
|
||||||
if(!default_can_user_rotate(user, default_rotation_direction))
|
if(!default_can_user_rotate(user, rotation))
|
||||||
return
|
return
|
||||||
BaseRot(user, rotation)
|
BaseRot(user, rotation)
|
||||||
return TRUE
|
return TRUE
|
||||||
|
|||||||
Reference in New Issue
Block a user