mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-14 18:39:27 -05:00
Merge pull request #115 from FreezePhoenix/patch-9
Fix bug regarding shiny items
This commit is contained in:
+4
-6
@@ -12397,12 +12397,10 @@ function update_instance(instance) {
|
||||
}
|
||||
|
||||
if (success && !player.p.u_fail) {
|
||||
if (announce) {
|
||||
player.hitchhikers.push([
|
||||
"game_response",
|
||||
{ response: "upgrade_success", level: new_level, num: ref.num, stale: ref.stale },
|
||||
]);
|
||||
}
|
||||
player.hitchhikers.push([
|
||||
"game_response",
|
||||
{ response: "upgrade_success", level: new_level, num: ref.num, stale: ref.stale },
|
||||
]);
|
||||
if (announce && calculate_item_value(item) > 4800000 && !player.stealth) {
|
||||
broadcast("server_message", {
|
||||
message: player.name + " received " + item_to_phrase(item),
|
||||
|
||||
Reference in New Issue
Block a user