Jump to content

Python issue - script meant for loginscreen also gets loaded ingame


Recommended Posts

Hi,

I'm running into a small issue lately, I've got a .py script where multilang system is written and I've created a function to call the system in my intrologin.py so as to show it in login screen, all works good except that it also shows in game screen when I login which is not what I want. I'm trying to prevent it from showing ingame ... can someone give me tips as to why an intrologin function gets called ingame and how to prevent it? Maybe just the logic behind it?

code snippet

self.loadmultipleLangs()
        
    def loadmultipleLangs(self):
        import multiplelangs
        multilang = multiplelangs.Langs()
        multilang.Show()
        self.Close()

would appreciate any help!

Edited by covfefe
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.