mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-08 01:13:21 +00:00
minor changes
This commit is contained in:
parent
44456c6cd2
commit
784adab1a8
4 changed files with 2 additions and 3 deletions
|
@ -278,9 +278,7 @@ public void OnClientCookiesCached(int client) {
|
|||
///////////////////////////////////////////////////////////////////////////////
|
||||
//Prevent issues with L4D1 characters being TP'd and stuck in brain dead form
|
||||
public void OnMapStart() {
|
||||
char output[2];
|
||||
L4D2_GetVScriptOutput("Director.GetSurvivorSet()", output, sizeof(output));
|
||||
isL4D1Survivors = StringToInt(output) == 1;
|
||||
isL4D1Survivors = L4D2_GetSurvivorSetMap() == 1;
|
||||
|
||||
survivors = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue