mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-06 20:03: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
|
@ -206,7 +206,7 @@ public Action Event_PlayerFirstSpawn(Event event, const char[] name, bool dontBr
|
|||
PopulateItems();
|
||||
CreateTimer(1.0, Timer_GiveKits);
|
||||
}
|
||||
if(firstSaferoomDoorEntity > 0)
|
||||
if(firstSaferoomDoorEntity > 0 && IsValidEntity(firstSaferoomDoorEntity))
|
||||
UnlockDoor(firstSaferoomDoorEntity, 2);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue