mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-07 21:43:20 +00:00
epi: Fix unlockdoor error
This commit is contained in:
parent
cc765def37
commit
6ee1281c54
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -206,7 +206,7 @@ public Action Event_PlayerFirstSpawn(Event event, const char[] name, bool dontBr
|
||||||
PopulateItems();
|
PopulateItems();
|
||||||
CreateTimer(1.0, Timer_GiveKits);
|
CreateTimer(1.0, Timer_GiveKits);
|
||||||
}
|
}
|
||||||
if(firstSaferoomDoorEntity > 0)
|
if(firstSaferoomDoorEntity > 0 && IsValidEntity(firstSaferoomDoorEntity))
|
||||||
UnlockDoor(firstSaferoomDoorEntity, 2);
|
UnlockDoor(firstSaferoomDoorEntity, 2);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue