mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-19 15:51:58 +00:00
a
This commit is contained in:
1 parent
66ecb57d97
commit
768429c138
1 file changed
+2
@@ -96,6 +96,7 @@ public class Transposer : RoleBase
|
||||
if (firstTarget && firstTarget.IsAlive() && firstTarget.IsShifted())
|
||||
{
|
||||
hasValue = true;
|
||||
Main.CheckShapeshift[firstTargetId] = false;
|
||||
try { firstTarget.Shapeshift(firstTarget, false); } catch { }
|
||||
writer.StartRpc(firstTarget.NetId, RpcCalls.Shapeshift)
|
||||
.WriteNetObject(firstTarget)
|
||||
@@ -106,6 +107,7 @@ public class Transposer : RoleBase
|
||||
if (target && target.IsAlive() && target.IsShifted())
|
||||
{
|
||||
hasValue = true;
|
||||
Main.CheckShapeshift[target.PlayerId] = false;
|
||||
try { target.Shapeshift(target, false); } catch { }
|
||||
writer.StartRpc(target.NetId, RpcCalls.Shapeshift)
|
||||
.WriteNetObject(target)
|
||||
|
||||
Reference in new issue
Block a user