Jump to content

Enable use of Enter key


Recommended Posts

  • 2 weeks later...
  • 4 years later...

If someone search it.

Solution:

Add to your new_introselect.py:

	def OnIMEReturn(self):
		self.StartGameButton()
		return True

 

if you have old char select (introselect.py):

Search for it:

	def OnKeyDown(self, key):

Add for this:

		if 28 == key:

			id = net.GetAccountCharacterSlotDataInteger(self.slot, net.ACCOUNT_CHARACTER_SLOT_ID)
			if 0 == id:
				self.CreateCharacter()

			else:
				self.StartGame()

 

That's all.
 

Edited by Pisti95
  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.