Correct anchor events (#6140)
This commit is contained in:
@@ -103,7 +103,7 @@ namespace Content.Server.Construction
|
||||
|
||||
transform.Anchored = true;
|
||||
|
||||
RaiseLocalEvent(uid, new AnchoredEvent(userUid, usingUid), false);
|
||||
RaiseLocalEvent(uid, new UserAnchoredEvent(userUid, usingUid), false);
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -132,7 +132,7 @@ namespace Content.Server.Construction
|
||||
|
||||
transform.Anchored = false;
|
||||
|
||||
RaiseLocalEvent(uid, new UnanchoredEvent(userUid, usingUid), false);
|
||||
RaiseLocalEvent(uid, new UserUnanchoredEvent(userUid, usingUid), false);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user