add double format for caption
This commit is contained in:
parent
316d3d5f15
commit
36e0895e86
@ -29,6 +29,7 @@ from pyglet.window import key, mouse
|
||||
# Difficult_Rocket function
|
||||
if TYPE_CHECKING:
|
||||
from Difficult_Rocket.main import Game
|
||||
from Difficult_Rocket import DR_status
|
||||
from Difficult_Rocket.utils import tools
|
||||
from Difficult_Rocket.command import line
|
||||
from Difficult_Rocket.api.types import Options
|
||||
@ -61,7 +62,8 @@ class ClientOption(Options):
|
||||
self.fullscreen = tools.format_bool(file['window']['full_screen'])
|
||||
self.resizeable = tools.format_bool(file['window']['resizable'])
|
||||
self.gui_scale = float(file['window']['gui_scale'])
|
||||
self.caption = DR_runtime.format(file['window']['caption'])
|
||||
self.caption = DR_status.format(file['window']['caption'])
|
||||
self.caption = DR_runtime.format(self.caption)
|
||||
|
||||
|
||||
class Client:
|
||||
|
@ -17,7 +17,7 @@ defusedxml >= 0.7.1
|
||||
objprint >= 0.2.2
|
||||
|
||||
# for compile
|
||||
nuitka >= 1.6.1
|
||||
nuitka >= 1.6.3
|
||||
ordered-set >= 4.1.0
|
||||
imageio >= 2.31.0
|
||||
wheel >= 0.40.0
|
||||
|
@ -20,7 +20,7 @@ viztracer >= 0.15.6
|
||||
vizplugins >= 0.1.3
|
||||
|
||||
# for compile
|
||||
nuitka >= 1.6.1
|
||||
nuitka >= 1.6.3
|
||||
ordered-set >= 4.1.0
|
||||
imageio >= 2.31.0
|
||||
wheel >= 0.40.0
|
||||
|
Loading…
Reference in New Issue
Block a user