diff --git a/config/main.toml b/config/main.toml index f6e465d..7af5df9 100644 --- a/config/main.toml +++ b/config/main.toml @@ -7,8 +7,8 @@ fonts_folder = "assets/fonts" [window] style = "None" -width = 1422 -height = 1093 +width = 1569 +height = 1298 visible = true gui_scale = 1 caption = "Difficult Rocket v{DR_version}" diff --git a/mods/dr_game/__init__.py b/mods/dr_game/__init__.py index 79866c7..ba4eb02 100644 --- a/mods/dr_game/__init__.py +++ b/mods/dr_game/__init__.py @@ -40,15 +40,16 @@ class _DR_mod_runtime(Options): # NOQA relationship = ( "larger" if self.DR_rust_version > self.DR_rust_version else "smaller" ) - warnings.warn( + logger.warn( f"DR_rust builtin version is {self.DR_rust_version} but true version is {get_version_str()}.\n" - f"Builtin version {relationship} than true version" + f"Builtin version {relationship} than true version", tag="load_dll" ) self.use_DR_rust = self.use_DR_rust and self.DR_rust_available except Exception: traceback.print_exc() self.DR_rust_available = False self.use_DR_rust = False + logger.warn(f"DR_rust load faild\n{traceback.format_exc()}", tag="load_dll") self.flush_option()