Skip to content
Snippets Groups Projects
Commit 965a1322 authored by Arkerthan's avatar Arkerthan
Browse files

Fix pit fight not allowing the player to continue if watching alone

parent 6fae0f64
No related branches found
No related tags found
1 merge request!11309Fix pit fight not allowing the player to continue if watching alone
......@@ -258,13 +258,14 @@ App.Events.SEPitFight = class SEPitFight extends App.Events.BaseEvent {
}
function finishEvent() {
const r = [];
V.nextButton = "Continue";
App.Utils.scheduleSidebarRefresh();
if (V.pit.audience === "none") {
return new DocumentFragment();
}
const r = [];
if (completedFights === 0) {
r.push("Opening the arena without hosting fights <span class='reputation dec'>hurt your reputation.</span>");
repX(-100 * maxFights, "pit");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment