mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-30 03:25:47 -05:00
check if newgroups api key actually exists before creating core
This commit is contained in:
parent
7abd7c5c2e
commit
d38323ab55
1 changed files with 14 additions and 11 deletions
|
@ -35,6 +35,8 @@ class NGio
|
|||
trace('INIT NOLOGIN');
|
||||
GAME_VER = "v" + Application.current.meta.get('version');
|
||||
|
||||
if (api.length != 0)
|
||||
{
|
||||
NG.create(api);
|
||||
|
||||
new FlxTimer().start(2, function(tmr:FlxTimer)
|
||||
|
@ -49,6 +51,7 @@ class NGio
|
|||
call.send();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
public function new(api:String, encKey:String, ?sessionId:String)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue