File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ pub struct SocketResponse {
4141#[ derive( Serialize , Deserialize , Debug ) ]
4242pub struct ChallengeResponse {
4343 pub score : i32 ,
44+ pub invalidation : String ,
4445}
4546
4647#[ derive( Debug , Serialize , Deserialize , PartialEq ) ]
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ pub fn attacker_movement_challenge_handle(
4747 challenge. score += score_increment;
4848 challenge. challenge_completed = true ;
4949 game_state. in_validation = InValidation {
50- message : "Maze Challenge Completed " . to_string ( ) ,
50+ message : "gomma aor mass da " . to_string ( ) ,
5151 is_invalidated : true ,
5252 }
5353 }
@@ -79,7 +79,7 @@ pub fn attacker_movement_challenge_handle(
7979 challenge. challenge_completed = true ;
8080 game_state. in_validation = InValidation {
8181 is_invalidated : true ,
82- message : "Fall Guys challenge completed " . to_string ( ) ,
82+ message : "gomma aor mass da " . to_string ( ) ,
8383 }
8484 }
8585
@@ -90,7 +90,7 @@ pub fn attacker_movement_challenge_handle(
9090 challenge. challenge_completed = true ;
9191 game_state. in_validation = InValidation {
9292 is_invalidated : true ,
93- message : "Fall Guys challenge completed " . to_string ( ) ,
93+ message : "gomma aor mass da " . to_string ( ) ,
9494 }
9595 }
9696 }
Original file line number Diff line number Diff line change @@ -244,6 +244,7 @@ pub fn game_handler(
244244 let challenge = if let Some ( challenge_state) = _game_state. challenge {
245245 Some ( ChallengeResponse {
246246 score : challenge_state. score ,
247+ invalidation : _game_state. in_validation . message . clone ( ) ,
247248 } )
248249 } else {
249250 None
You can’t perform that action at this time.
0 commit comments