Hotfix team deletion
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
5715ea391c
Commit
0e0a3606ce
@ -155,7 +155,7 @@ public class Team {
|
|||||||
|
|
||||||
public void disband(SteamwarUser user){
|
public void disband(SteamwarUser user){
|
||||||
user.setLeader(false);
|
user.setLeader(false);
|
||||||
SQL.update("UPDATE Team SET TeamDeleted = 1", teamId);
|
SQL.update("UPDATE Team SET TeamDeleted = 1 WHERE TeamID = ?", teamId);
|
||||||
teamCache.remove(this);
|
teamCache.remove(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren