mirror of https://github.com/axmolengine/axmol.git
Fixing bug where screen rotate would keep creating new NSD services
This commit is contained in:
parent
eb85a6c1fb
commit
8209fa56a2
|
@ -66,7 +66,7 @@ public class CocosPlayerPresence extends Service {
|
|||
|
||||
public static int startPresence() {
|
||||
|
||||
if (port < 0 || !running)
|
||||
if (port < 0 || running)
|
||||
return -1;
|
||||
|
||||
Log.i(TAG, "Starting NSD Service");
|
||||
|
|
Loading…
Reference in New Issue