Bug 3722 - SetTeamScore works for one round, next round it's set back to the old value
SetTeamScore works for one round, next round it's set back to the old value
Status: UNCONFIRMED
Product: SourceMod
Classification: Unclassified
Component: Core
1.2 branch
All All
: P3 normal
Assigned To: SourceMod Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-11 16:14 PDT by Gemeni
Modified: 2009-05-25 01:50 PDT (History)
2 users (show)

See Also:


Attachments

Description Gemeni 2009-03-11 16:14:11 PDT
Using the following code in my teamswitch plugin ...

    CTScore = GetTeamScore(CS_TEAM_CT);
    TScore = GetTeamScore(CS_TEAM_T);
    SetTeamScore(CS_TEAM_CT, TScore);
    SetTeamScore(CS_TEAM_T, CTScore);

When the team switch is done, the scores are switched as well. But after the end of that round scores are switched back again like the "score switch" never happened. But of course, the players stays in the new teams ...
Comment 1 Gemeni 2009-03-22 18:06:19 PDT
Just verified that the bug is still there in version 1.2

Note You need to log in before you can comment on or make changes to this bug.