summaryrefslogtreecommitdiff
path: root/npc/001-8
diff options
context:
space:
mode:
Diffstat (limited to 'npc/001-8')
-rw-r--r--npc/001-8/hub.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/npc/001-8/hub.txt b/npc/001-8/hub.txt
index e917f8e8d..bacee697b 100644
--- a/npc/001-8/hub.txt
+++ b/npc/001-8/hub.txt
@@ -55,8 +55,8 @@
// Only one player standing! CONGRATULATIONS, YOU HAVE WON!!
OnGameOver:
- debugmes "OnGameOver Check";
.@u=getmapusers("001-8");
+ debugmes "OnGameOver Check: "+str(.@u);
if (.@u == 1) {
$@EQ_STATUS=2;
maptimer("001-8", 10, "#QuirinoHUB::OnVictory");
@@ -313,6 +313,8 @@ OnTimer900000:
OnVictory:
@qhub_victor=1;
+ debugmes "We have a victor";
+ dispbottom l("Winner is you");
OnPCDieEvent:
@qhub_died=1;
OnPCLogoutEvent:
@@ -337,7 +339,7 @@ OnPCLogoutEvent:
HUBspawn(Wolvern, 4);
HUBspawn(NightScorpion, 2);
}
- if (.@u == 1) {
+ if (.@u == 1 && !@qhub_victor) {
donpcevent "#QuirinoHUB::OnGameOver";
}