protected override void FillTab() { if (Multiplayer.IsRunning) { Multiplayer.WatchBegin(); } Text.Font = GameFont.Small; Rect rect = new Rect(0f, 20f, size.x, size.y - 20).ContractedBy(10f); listingStandard.Begin(rect); { if (SelPawn.IsTrader()) { FillTabTrader(); } else { FillTabGuest(rect); } } listingStandard.End(); if (Multiplayer.IsRunning) { Multiplayer.WatchEnd(); } }
protected override void FillTab() { Text.Font = GameFont.Small; Rect rect = new Rect(0f, 20f, size.x, size.y - 20).ContractedBy(10f); var listingStandard = new Listing_Standard(rect); { if (SelPawn.IsTrader()) { FillTabTrader(listingStandard); } else { FillTabGuest(listingStandard, rect); } } listingStandard.End(); }