Мне поебать
Я не собираюсь придумывать элегантное решения для этого говночата
This commit is contained in:
@@ -247,7 +247,16 @@ public sealed class ChatUIController : UIController
|
||||
chatBox = defaultScreen.ChatBox;
|
||||
//White modification start
|
||||
chatSizeRaw = _config.GetCVar(WhiteCVars.DefaultChatSize);
|
||||
|
||||
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
|
||||
SetChatSizing(chatSize, defaultScreen, setting);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user