uaaaaa
This commit is contained in:
parent
a5c4ae871b
commit
683908bb01
@ -215,7 +215,7 @@ class ClientWindow(Window):
|
||||
def read_input(self):
|
||||
self.logger.debug('read_input start')
|
||||
while self.run_input:
|
||||
get = input()
|
||||
get = input(">")
|
||||
if get in ('', ' ', '\n', '\r'):
|
||||
continue
|
||||
if get == 'stop':
|
||||
@ -287,6 +287,7 @@ class ClientWindow(Window):
|
||||
|
||||
@_call_screen_after
|
||||
def on_command(self, command: line.CommandText):
|
||||
print(command.re_match('/'))
|
||||
self.logger.info(tr().window.command.text().format(command))
|
||||
if command.re_match('stop'):
|
||||
# self.dispatch_event('on_exit')
|
||||
|
@ -17,7 +17,7 @@ import re
|
||||
from typing import Union, Optional, Type, Tuple, List
|
||||
|
||||
# DR
|
||||
from Difficult_Rocket.exception.command import *
|
||||
# from Difficult_Rocket.exception.command import *
|
||||
|
||||
search_re = re.compile(r'(?<!\\)"')
|
||||
|
||||
|
@ -73,7 +73,7 @@ class Game:
|
||||
self.server.run()
|
||||
if DR_option.use_multiprocess:
|
||||
try:
|
||||
game_process = multiprocessing.Process(target=self.client.start(), name='pyglet app')
|
||||
game_process = multiprocessing.Process(target=self.client.start, name='pyglet app')
|
||||
game_process.start()
|
||||
game_process.join()
|
||||
except Exception:
|
||||
|
@ -14,6 +14,9 @@ crate-type = ["cdylib"]
|
||||
[profile.dev.package.rapier2d-f64]
|
||||
opt-level = 3
|
||||
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
|
||||
[dependencies.rapier2d-f64]
|
||||
version = "0.17.1"
|
||||
features = ["simd-stable"]
|
||||
|
Loading…
Reference in New Issue
Block a user