diff --git a/server/src/bindings/Player.cpp b/server/src/bindings/Player.cpp index c077c2e6..3753ce93 100644 --- a/server/src/bindings/Player.cpp +++ b/server/src/bindings/Player.cpp @@ -860,7 +860,7 @@ static void RequestCloudID(const v8::FunctionCallbackInfo& info) [&persistent, resource](bool ok, const std::string& result) { resource->RunOnNextTick( - [=, &persistent, &resource]() + [=, &persistent]() { if(!resource->GetResource()->IsStarted()) {