Skip to content

[BUG] SCP-079 Recontain stalls the next round #736

@NotZer0Two

Description

@NotZer0Two

Describe the bug
The scp 079 recontaining event stalls the next round if the scp never got killed but the round restarts and so that event gets triggered making the entire facility be lockdown

To Reproduce
Steps to reproduce the behavior:
Disable the event example with this

        public void OnRecontaining(RecontainingEventArgs ev) {
            if (Player.Enumerable.Any(p => p.IsNPC && p.Role.Type == RoleTypeId.Scp079))
            {
                ev.IsAllowed = false;
                Log.Info("1");
            }
            Log.Info("2");
        }

Then restart the round and it should be block

Expected behavior
Not blocked

Server logs
Not really needed it seems to be triggerable any case

EXILED Version ("latest" is not a version): v9.12.6

Results of pluginmanager show command in console:
Only this plugin

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions