Makes many things use OwnerUid instead of Owner.Uid
This commit is contained in:
@@ -73,7 +73,7 @@ namespace Content.Shared.Pulling
|
||||
}
|
||||
|
||||
var msg = new StopPullingEvent(user?.Uid);
|
||||
RaiseLocalEvent(pullable.Owner.Uid, msg);
|
||||
RaiseLocalEvent(pullable.OwnerUid, msg);
|
||||
|
||||
if (msg.Cancelled) return false;
|
||||
|
||||
@@ -154,14 +154,14 @@ namespace Content.Shared.Pulling
|
||||
|
||||
var pullAttempt = new PullAttemptMessage(pullerPhysics, pullablePhysics);
|
||||
|
||||
RaiseLocalEvent(puller.Owner.Uid, pullAttempt, broadcast: false);
|
||||
RaiseLocalEvent(puller.OwnerUid, pullAttempt, broadcast: false);
|
||||
|
||||
if (pullAttempt.Cancelled)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
RaiseLocalEvent(pullable.Owner.Uid, pullAttempt);
|
||||
RaiseLocalEvent(pullable.OwnerUid, pullAttempt);
|
||||
|
||||
if (pullAttempt.Cancelled)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user