Hack client.cpp to send disconnection packets.
Revert "Optimize Environment::getPlayer"

This reverts commit 409fc2d36e9495a2289140bc8470513174ae7f0e.

Conflicts:
	src/environment.h