Example #1
0
    public override void BeginState(Game_Controller outer)
    {
        Game_PlayerPawn gpp = (Game_PlayerPawn)outer.Pawn;

        if (gpp != null)
        {
            if (/*!outer.IsServer() && */ gpp.Physics != gpp.mNetPhysics)
            {
                gpp.SetPhysics(gpp.mNetPhysics);
            }
        }
        base.BeginState(outer);
        (outer as Game_PlayerController).OnSitDown(true);
    }