Wheelchair fixes (#18901)

* Remove netsync

* Replace OnStartup with OnMapInit

* Dont remove component

* Remove component ensure

* Remove using

* Cancel all moving or stand events

* Fix description

* Revert "Replace OnStartup with OnMapInit"

This reverts commit 5b7470d0dfa7a7c127dec6a06534b339f140ffac.

* Remove stand events cancel
This commit is contained in:
Morb
2023-08-13 10:29:39 +03:00
committed by GitHub
parent cd80ba392f
commit fb5f8dadbb
3 changed files with 16 additions and 6 deletions

View File

@@ -16,6 +16,5 @@ public sealed class WheelchairBoundSystem : EntitySystem
{
var wheelchair = Spawn(component.WheelchairPrototype, Transform(uid).Coordinates);
_buckleSystem.TryBuckle(uid, uid, wheelchair);
RemComp<WheelchairBoundComponent>(uid);
}
}