mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-25 04:28:51 -05:00
fix: achievement unlock
The unlock() function only takes a single argument
This commit is contained in:
@@ -120,7 +120,7 @@ class SubtitleController extends Controller
|
||||
}
|
||||
|
||||
// Achievements
|
||||
$user->unlock(new UserUploadedFirstSubtitle(), 1);
|
||||
$user->unlock(new UserUploadedFirstSubtitle());
|
||||
$user->addProgress(new UserUploaded25Subtitles(), 1);
|
||||
$user->addProgress(new UserUploaded50Subtitles(), 1);
|
||||
$user->addProgress(new UserUploaded100Subtitles(), 1);
|
||||
|
||||
Reference in New Issue
Block a user