mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Fix anchoring bug (#3445)
Fixes https://github.com/space-wizards/RobustToolbox/issues/3444
This commit is contained in:
@@ -377,8 +377,8 @@ namespace Robust.Shared.GameObjects
|
||||
get => _anchored;
|
||||
set
|
||||
{
|
||||
// This will be set again when the transform starts, actually anchoring it.
|
||||
if (LifeStage < ComponentLifeStage.Starting)
|
||||
// This will be set again when the transform initializes, actually anchoring it.
|
||||
if (!Initialized)
|
||||
{
|
||||
_anchored = value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user