Deathmatch tweaks and fixes.
This commit is contained in:
parent
37275606e3
commit
e3d2158a0a
5 changed files with 19 additions and 8 deletions
|
|
@ -50,7 +50,7 @@ extend Class SWWMHandler
|
|||
if ( players[i].itemcount > lastitemcount[i] )
|
||||
{
|
||||
int score = 10*(players[i].itemcount-lastitemcount[i]);
|
||||
if ( (level.total_items == level.found_items) && !allitems )
|
||||
if ( !deathmatch && (level.total_items == level.found_items) && !allitems )
|
||||
{
|
||||
allitems = true;
|
||||
Console.Printf(StringTable.Localize("$SWWM_LASTITEM"),players[i].GetUserName(),500);
|
||||
|
|
@ -125,6 +125,8 @@ extend Class SWWMHandler
|
|||
|
||||
private void OneHundredPercentCheck()
|
||||
{
|
||||
// not in DM
|
||||
if ( !deathmatch ) return;
|
||||
if ( !mapclear && (restartmus > 0) )
|
||||
{
|
||||
restartmus--;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue