Call reload protoypes on admin changes (#13160)

* Call reload protoypes on admin changes

Fixes NPCs not working after engine change.

* Also chems

* other fixes
This commit is contained in:
metalgearsloth
2022-12-25 08:31:11 +11:00
committed by GitHub
parent a5f17a590f
commit 455939afc1
5 changed files with 30 additions and 28 deletions

View File

@@ -16,7 +16,7 @@ namespace Content.Server.Chemistry.EntitySystems
var coordinates = Transform(owner).Coordinates;
_adminLogger.Add(LogType.ChemicalReaction, reaction.Impact,
AdminLogger.Add(LogType.ChemicalReaction, reaction.Impact,
$"Chemical reaction {reaction.ID:reaction} occurred with strength {unitReactions:strength} on entity {ToPrettyString(owner):metabolizer} at {coordinates}");
SoundSystem.Play(reaction.Sound.GetSound(), Filter.Pvs(owner, entityManager:EntityManager), owner);