So the issue with the main client is that when you type, if you want to delete a character, you can do that but after you delete it, the cursor resets
The fix is easy, in Client\assets\root\ui.py
change this line --> self.SetText(ime.GetText())
with this line --> TextLine.SetText(self, ime.GetText())
after that, when you move through text ( and you delete a letter, the cursor will not reset)
final structure should look like this
def OnIMEUpdate(self):
snd.PlaySound("sound/ui/type.wav")
TextLine.SetText(self, ime.GetText())
So the issue with the main client is that when you type, if you want to delete a character, you can do that but after you delete it, the cursor resets
The fix is easy, in Client\assets\root\ui.py
change this line --> self.SetText(ime.GetText())
with this line --> TextLine.SetText(self, ime.GetText())
after that, when you move through text ( and you delete a letter, the cursor will not reset)
final structure should look like this
def OnIMEUpdate(self):
snd.PlaySound("sound/ui/type.wav")
TextLine.SetText(self, ime.GetText())