Stopping character after CLI action.

pull/2175/head
jMyles 2020-07-26 20:13:47 -07:00
parent 7bdc86a9cd
commit 11e4694df8
1 changed files with 5 additions and 0 deletions

View File

@ -147,6 +147,11 @@ class CLIController(CharacterControlServer):
self.emitter.ipc(response=response, request_id=start.epoch, duration=maya.now() - start)
return response
def _perform_action(self, *args, **kwargs) -> dict:
response_data = super()._perform_action(*args, **kwargs)
self.stop_character()
return response_data
class JSONRPCController(CharacterControlServer):