Skip to content

Commit

Permalink
Move Core modules
Browse files Browse the repository at this point in the history
  • Loading branch information
VDuchauffour committed Jun 10, 2024
1 parent 92f4f8a commit 34535b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
try:
from CvPythonExtensions import (
CyGlobalContext,
CyTranslator,
CyInterface,
CyPlayer,
CyTeam,
CyPlot,
Expand Down Expand Up @@ -70,10 +72,14 @@

gc = CyGlobalContext()
game = gc.getGame()
translator = CyTranslator()
interface = CyInterface()

except ImportError:
gc = None
game = None
translator = None
interface = None


class Company(Item):
Expand Down

0 comments on commit 34535b0

Please sign in to comment.