projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9595beb
)
Reset ready and eliminated status in the client as soon as a player disconnects,...
author
terencehill <piuntn@gmail.com>
Mon, 12 Jun 2023 17:50:44 +0000
(19:50 +0200)
committer
terencehill <piuntn@gmail.com>
Mon, 12 Jun 2023 17:50:44 +0000
(19:50 +0200)
qcsrc/client/main.qc
patch
|
blob
|
history
diff --git
a/qcsrc/client/main.qc
b/qcsrc/client/main.qc
index 68b21f46cf8990aeebe8a4d0174d350065b64a67..327a9edf877667958d07ba8a278051c00583181d 100644
(file)
--- a/
qcsrc/client/main.qc
+++ b/
qcsrc/client/main.qc
@@
-550,6
+550,8
@@
void Ent_RemovePlayerScore(entity this)
FOREACH(Scores, true, {
this.owner.(scores(it)) = 0; // clear all scores
});
+ this.owner.ready = 0;
+ this.owner.eliminated = 0;
this.owner.colormap = 0;
// TODO add a hook to reset this Survival field
this.owner.survival_status = 0;