mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-05 18:19:59 -05:00
fix: achievement unlock
The unlock() function only takes a single argument
This commit is contained in:
@@ -178,7 +178,7 @@ class TopicController extends Controller
|
||||
}
|
||||
|
||||
//Achievements
|
||||
$user->unlock(new UserMadeFirstPost(), 1);
|
||||
$user->unlock(new UserMadeFirstPost());
|
||||
$user->addProgress(new UserMade25Posts(), 1);
|
||||
$user->addProgress(new UserMade50Posts(), 1);
|
||||
$user->addProgress(new UserMade100Posts(), 1);
|
||||
|
||||
Reference in New Issue
Block a user