Fixes (#73)
* - fix: Genitals sprite shit and meow for tajaran * - add: fart sound if kicked from server * - tweak: vulpies and tajaran now for donaters!!! * - fix: Fart on exit * - add: roleplay think * - fix: database shit and loc * - add: ears for slime * - fix: LOC interaction fix * - add: height setting * - fix: height for felinids * - fix: nigga fix * - fix: no bitches on captain * - fix: interaction panel animation shit
This commit is contained in:
@@ -18,7 +18,19 @@ public sealed partial class RequireAnimation : IInteractionAction
|
||||
{
|
||||
var animationSystem = entityManager.System<SharedAnimationSystem>();
|
||||
|
||||
var rotation = (entityManager.GetComponent<TransformComponent>(target).LocalPosition - entityManager.GetComponent<TransformComponent>(uid).LocalPosition)*0.5f;
|
||||
var targetTransform = entityManager.GetComponent<TransformComponent>(target);
|
||||
var userTransform = entityManager.GetComponent<TransformComponent>(uid);
|
||||
|
||||
var targetPos = targetTransform.LocalPosition;
|
||||
if (!targetTransform.ParentUid.Equals(targetTransform.GridUid))
|
||||
targetPos = entityManager.GetComponent<TransformComponent>(targetTransform.ParentUid).LocalPosition;
|
||||
|
||||
|
||||
var userPos = userTransform.LocalPosition;
|
||||
if (!userTransform.ParentUid.Equals(userTransform.GridUid))
|
||||
userPos = entityManager.GetComponent<TransformComponent>(userTransform.ParentUid).LocalPosition;
|
||||
|
||||
var rotation = (targetPos - userPos)*0.5f;
|
||||
|
||||
if (Length == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user