projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b074926
)
MUTATOR_ONREMOVE for domination should be handled this way, like in the all the other...
author
terencehill <piuntn@gmail.com>
Fri, 5 Dec 2014 22:57:14 +0000
(23:57 +0100)
committer
terencehill <piuntn@gmail.com>
Fri, 5 Dec 2014 22:57:14 +0000
(23:57 +0100)
qcsrc/server/mutators/gamemode_domination.qc
patch
|
blob
|
history
diff --git
a/qcsrc/server/mutators/gamemode_domination.qc
b/qcsrc/server/mutators/gamemode_domination.qc
index 2569a49d3188c49c57dca27cb5c1c3f8e5559aec..8e4d929beefed58d4163d6c5b5c119c6e4f9fc78 100644
(file)
--- a/
qcsrc/server/mutators/gamemode_domination.qc
+++ b/
qcsrc/server/mutators/gamemode_domination.qc
@@
-647,7
+647,8
@@
MUTATOR_DEFINITION(gamemode_domination)
MUTATOR_ONREMOVE
{
- error("This is a game type and it cannot be removed at runtime.");
+ print("This is a game type and it cannot be removed at runtime.");
+ return -1;
}
return 0;