ItemSpawn: Disable kill messages.
They cause errors on non-client calls :B
This commit is contained in:
parent
7813d7d677
commit
a9704e1bfb
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user