ItemSpawn: Disable kill messages.

They cause errors on non-client calls :B
This commit is contained in:
zaCade 2018-08-28 12:51:15 +02:00
parent 7813d7d677
commit a9704e1bfb
2 changed files with 2 additions and 2 deletions

View File

@ -335,7 +335,7 @@ public void SpawnBalrog(float fOrigin[3])
SetEntityBBox(iHealth, view_as<float>({-124.0, -120.0, -188.2}), view_as<float>({124.0, 120.0, 188.2}));
SetEntityProps(iHealth);
HookSingleEntityOutput(iHealth, "OnBreak", BalrogKill, true);
// HookSingleEntityOutput(iHealth, "OnBreak", BalrogKill, true);
// game_ui.
int iControls = CreateEntityAtOrigin("game_ui", fOrigin);

View File

@ -545,7 +545,7 @@ public void SpawnWhiteKnight(float fOrigin[3])
SetEntityBBox(iHealth, view_as<float>({-36.0, -52.0, 48.0}), view_as<float>({36.0, 52.0, 160.0}));
SetEntityProps(iHealth);
HookSingleEntityOutput(iHealth, "OnBreak", WhiteKnightKill, true);
// HookSingleEntityOutput(iHealth, "OnBreak", WhiteKnightKill, true);
// game_ui.
int iControls = CreateEntityAtOrigin("game_ui", fOrigin);