solved ui probs

This commit is contained in:
kremsy authored and Steffen Schröder committed 2014-05-01 17:35:32 +02:00
1 parent b84ba8bb07
commit 34989d233d
3 files changed
+21 -18

No files matched your search

@@ -82,10 +82,11 @@ class CustomUIManager implements CallbackListener, TimerListener {
*/
public function handlePlayerJoined(Player $player) {
$this->updateManialink($player);
//send it again after 5 secs
//send it again after 500ms
$this->maniaControl->timerManager->registerOneTimeListening($this, function($time) use (&$player){
$this->updateManialink($player);
},5000);
},500);
}
/**