mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
Fix engine proxy methods (#46057)
This commit is contained in:
parent
a023e5784c
commit
0b8f6c81db
5 changed files with 5 additions and 5 deletions
|
|
@ -27,7 +27,7 @@ public sealed partial class PlantTraitKudzuSystem : EntitySystem
|
|||
// Handle kudzu transformation.
|
||||
if (trayComp.WeedLevel >= ent.Comp.WeedLevelThreshold)
|
||||
{
|
||||
EntityManager.PredictedSpawn(ent.Comp.KudzuPrototype, _transform.GetMapCoordinates(ent.Owner));
|
||||
PredictedSpawn(ent.Comp.KudzuPrototype, _transform.GetMapCoordinates(ent.Owner));
|
||||
RemComp<PlantTraitKudzuComponent>(ent.Owner);
|
||||
_plantHolder.KillPlant(ent.Owner);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ public sealed partial class LogProbeCartridgeSystem : EntitySystem
|
|||
|
||||
ent.Comp.NextPrintAllowed = _timing.CurTime + ent.Comp.PrintCooldown;
|
||||
|
||||
var paper = EntityManager.PredictedSpawn(ent.Comp.PaperPrototype, _transform.GetMapCoordinates(user));
|
||||
var paper = PredictedSpawn(ent.Comp.PaperPrototype, _transform.GetMapCoordinates(user));
|
||||
_label.Label(paper, ent.Comp.EntityName); // label it for easy identification
|
||||
|
||||
_audio.PlayEntity(ent.Comp.PrintSound, user, paper);
|
||||
|
|
|
|||
|
|
@ -161,7 +161,7 @@ public sealed partial class IngestionSystem
|
|||
|
||||
foreach (var trash in trashes)
|
||||
{
|
||||
var spawnedTrash = EntityManager.PredictedSpawn(trash, position);
|
||||
var spawnedTrash = PredictedSpawn(trash, position);
|
||||
|
||||
// If the user is holding the item
|
||||
if (!pickup)
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ public abstract partial class SharedTabletopSystem : EntitySystem
|
|||
var meta = MetaData(handEnt.Value);
|
||||
var protoId = meta.EntityPrototype?.ID;
|
||||
|
||||
var hologram = EntityManager.PredictedSpawn(protoId, session.Position.Offset(-1, 0));
|
||||
var hologram = PredictedSpawn(protoId, session.Position.Offset(-1, 0));
|
||||
|
||||
// Make sure the entity can be dragged and can be removed, move it into the board game world and add it to the Entities hashmap.
|
||||
EnsureComp<TabletopDraggableComponent>(hologram);
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ public sealed partial class TriggerSystem
|
|||
{
|
||||
var mapCoords = _transform.GetMapCoordinates(target);
|
||||
if (predicted)
|
||||
EntityManager.PredictedSpawn(proto, mapCoords);
|
||||
PredictedSpawn(proto, mapCoords);
|
||||
else if (_net.IsServer)
|
||||
Spawn(proto, mapCoords);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue