diff --git a/frontend/models/Player.php b/frontend/models/Player.php index bce213acc..067a645c4 100644 --- a/frontend/models/Player.php +++ b/frontend/models/Player.php @@ -368,8 +368,8 @@ public function genAvatar() \Yii::error('The avatars folder or avatar file is not writeable. correct the permissions for the avatars to be generated.'); return; } - if (file_exists($avatarPNG)) - return; + //if (file_exists($avatarPNG)) + // return; $robohash = new \app\components\generators\AvatarGenerator($_pID); $image = $robohash->generate_image();