Correct anchor events (#6140)

This commit is contained in:
Leon Friedrich
2022-01-13 06:49:28 +13:00
committed by GitHub
parent 2aefca868d
commit 21480c716a
6 changed files with 33 additions and 52 deletions

View File

@@ -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;
}