From 4f2e4b54cc91557adc409ace683e9037e84e0440 Mon Sep 17 00:00:00 2001 From: Ethan O'Brien <77750390+ethanaobrien@users.noreply.github.com> Date: Mon, 29 Apr 2024 10:40:20 -0500 Subject: [PATCH] Push live gifts to reward box --- src/router/live.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/router/live.rs b/src/router/live.rs index 28b847a..76650d9 100644 --- a/src/router/live.rs +++ b/src/router/live.rs @@ -267,9 +267,9 @@ pub fn end(req: HttpRequest, body: String) -> HttpResponse { live_completed(body["master_live_id"].as_i64().unwrap(), body["level"].as_i32().unwrap(), false); - global::give_points(1, 10000, &mut user); - global::give_item(16005003, 10, &mut user); - global::give_item(17001003, 2, &mut user); + global::gift_item_basic(1, 10000, 4, "You completed a live!", &mut user); + global::gift_item_basic(16005003, 10, 3, "You completed a live!", &mut user); + global::gift_item_basic(17001003, 2, 3, "You completed a live!", &mut user); global::lp_modification(&mut user, body["use_lp"].as_u64().unwrap(), true);