Viderizer/pokemon-online — comment on commit 5152c1eea3448e19696fd001d9050b599c390623
File: src/Server/battle.cpp line 2762
By coyotte508:

Don't return! return quits the whole function, just use break. Anyway i fixed it on my repo.