mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
a
This commit is contained in:
1 parent
455e5f1a04
commit
a34cb15f1b
1 file changed
+2
-2
@@ -69,14 +69,14 @@ public class Duellist : RoleBase
|
||||
if (previousTarget) previousTarget.TPToRandomVent();
|
||||
}
|
||||
|
||||
Main.Instance.StartCoroutine(Coroutine());
|
||||
|
||||
duellist.TP(pos);
|
||||
DuelPair[duellist.PlayerId] = target.PlayerId;
|
||||
|
||||
duellist.RPCPlayCustomSound("Teleport");
|
||||
target.RPCPlayCustomSound("Teleport");
|
||||
|
||||
Main.Instance.StartCoroutine(Coroutine());
|
||||
|
||||
System.Collections.IEnumerator Coroutine()
|
||||
{
|
||||
while (GameStates.IsInTask && duellist.IsAlive() && target.IsAlive()) yield return null;
|
||||
|
||||
Reference in new issue
Block a user