Мне поебать
Я не собираюсь придумывать элегантное решения для этого говночата
This commit is contained in:
@@ -247,7 +247,16 @@ public sealed class ChatUIController : UIController
|
|||||||
chatBox = defaultScreen.ChatBox;
|
chatBox = defaultScreen.ChatBox;
|
||||||
//White modification start
|
//White modification start
|
||||||
chatSizeRaw = _config.GetCVar(WhiteCVars.DefaultChatSize);
|
chatSizeRaw = _config.GetCVar(WhiteCVars.DefaultChatSize);
|
||||||
|
|
||||||
chatSize = Vector2Utils.ParseVector2FromString(chatSizeRaw, ';');
|
chatSize = Vector2Utils.ParseVector2FromString(chatSizeRaw, ';');
|
||||||
|
|
||||||
|
//БЛЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯЯТЬ
|
||||||
|
if (chatSize.X <= 0 || chatSize.Y <= 0 || chatSize.X > 1000 || chatSize.Y > 1000)
|
||||||
|
{
|
||||||
|
chatSize = Vector2Utils.ParseVector2FromString(WhiteCVars.DefaultChatSize.DefaultValue, ';');
|
||||||
|
_config.SetCVar(WhiteCVars.DefaultChatSize, WhiteCVars.DefaultChatSize.DefaultValue);
|
||||||
|
}
|
||||||
|
|
||||||
//End
|
//End
|
||||||
SetChatSizing(chatSize, defaultScreen, setting);
|
SetChatSizing(chatSize, defaultScreen, setting);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user