static void Prefix() { foreach (char c in Input.inputString) { if (code[codeIdx] == c) { if (++codeIdx < code.Length) { continue; } else if (!GameplayManager.IsMultiplayer) { MPObserver.Enable(); } } codeIdx = 0; } }