Browse Source

code review

Laserlicht 1 month ago
parent
commit
a4d840f60f
1 changed files with 0 additions and 1 deletions
  1. 0 1
      server/NetPacksServer.cpp

+ 0 - 1
server/NetPacksServer.cpp

@@ -365,7 +365,6 @@ void ApplyGhNetPackVisitor::visitSetFormation(SetFormation & pack)
 void ApplyGhNetPackVisitor::visitSetTownName(SetTownName & pack)
 {
 	gh.throwIfWrongOwner(connection, &pack, pack.tid);
-	gh.throwIfPlayerNotActive(connection, &pack);
 
 	result = gh.setTownName(pack.tid, pack.name);
 }