Merge branch 'master' of teascade.net:neontea/quakeball
This commit is contained in:
commit
5ca75883b6
@ -98,6 +98,10 @@ namespace NeonTea.Quakeball.Interface {
|
||||
InputField.ActivateInputField();
|
||||
InputField.readOnly = false;
|
||||
}
|
||||
if (IsOpen) {
|
||||
Text = String.Join("\n", Messages);
|
||||
TextField.text = Text;
|
||||
}
|
||||
}
|
||||
|
||||
public bool RegisterCommand(string name, Func<string[], bool> command) {
|
||||
@ -136,8 +140,6 @@ namespace NeonTea.Quakeball.Interface {
|
||||
|
||||
public int Println(string message) {
|
||||
Messages.Add(message);
|
||||
Text = String.Join("\n", Messages.ToArray());
|
||||
TextField.text = Text;
|
||||
return Messages.Count - 1;
|
||||
}
|
||||
|
||||
@ -146,8 +148,6 @@ namespace NeonTea.Quakeball.Interface {
|
||||
return;
|
||||
}
|
||||
Messages[idx] = message;
|
||||
Text = String.Join("\n", Messages.ToArray());
|
||||
TextField.text = Text;
|
||||
}
|
||||
|
||||
private void Scroll(int amount) {
|
||||
|
Loading…
Reference in New Issue
Block a user