mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-02 08:02:23 +03:00
chess hotfix
This commit is contained in:
parent
519e04f790
commit
fe64f0d9f9
@ -288,7 +288,7 @@ impl Guest for Component {
|
||||
|
||||
print_to_terminal(1, "chess: parsed ipc JSON");
|
||||
|
||||
if source.process.to_string() == "chess:sys:uqbar" {
|
||||
if source.process.to_string() == "chess:chess:uqbar" {
|
||||
let action = message_json["action"].as_str().unwrap_or("");
|
||||
let game_id = source.node.clone();
|
||||
|
||||
@ -567,7 +567,7 @@ impl Guest for Component {
|
||||
let response = send_and_await_response(
|
||||
&Address {
|
||||
node: game_id.clone(),
|
||||
process: ProcessId::from_str("chess:sys:uqbar")
|
||||
process: ProcessId::from_str("chess:chess:uqbar")
|
||||
.unwrap(),
|
||||
},
|
||||
&Request {
|
||||
@ -720,7 +720,7 @@ impl Guest for Component {
|
||||
&Address {
|
||||
node: game_id.clone(),
|
||||
process: ProcessId::from_str(
|
||||
"chess:sys:uqbar",
|
||||
"chess:chess:uqbar",
|
||||
)
|
||||
.unwrap(),
|
||||
},
|
||||
@ -871,7 +871,7 @@ impl Guest for Component {
|
||||
let response = send_and_await_response(
|
||||
&Address {
|
||||
node: game_id.clone(),
|
||||
process: ProcessId::from_str("chess:sys:uqbar")
|
||||
process: ProcessId::from_str("chess:chess:uqbar")
|
||||
.unwrap(),
|
||||
},
|
||||
&Request {
|
||||
|
Loading…
Reference in New Issue
Block a user