trigger_endsection: Add support for the 'master' key
This commit is contained in:
parent
ffca4e14b9
commit
9d5b1fb1a8
1 changed files with 4 additions and 1 deletions
|
@ -32,7 +32,10 @@ class trigger_endsection:CBaseTrigger
|
|||
void
|
||||
trigger_endsection::Trigger(entity act, int state)
|
||||
{
|
||||
localcmd("disconnect\n");
|
||||
if (GetMaster() == FALSE)
|
||||
return;
|
||||
|
||||
localcmd("echo disconnect\n");
|
||||
}
|
||||
|
||||
/* TODO: Make this redundant */
|
||||
|
|
Loading…
Reference in a new issue