Quick fix for holofan and tiny fan (#12420)

Fixes https://github.com/space-wizards/space-station-14/issues/12411
This commit is contained in:
Alex Evgrashin 2022-11-06 20:34:06 +01:00 committed by GitHub
parent aa309005d8
commit 6913c77ab1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 5 deletions

View File

@ -31,11 +31,7 @@ namespace Content.Server.Atmos.EntitySystems
var moveEvent = new MoveEvent(airtight.Owner, default, default, Angle.Zero, xform.LocalRotation, xform, false);
OnAirtightRotated(uid, airtight, ref moveEvent);
}
// Adding this component will immediately anchor the entity, because the atmos system
// requires airtight entities to be anchored for performance.
xform.Anchored = true;
UpdatePosition(airtight);
}

View File

@ -2,7 +2,11 @@
id: HolosignWetFloor
name: wet floor sign
description: The words flicker as if they mean nothing.
placement:
mode: SnapgridCenter
components:
- type: Transform
anchored: true
- type: Physics
bodyType: Static
- type: Sprite

View File

@ -6,6 +6,8 @@
placement:
mode: SnapgridCenter
components:
- type: Transform
anchored: true
- type: Physics
bodyType: Static
- type: Sprite