Skip to content

Commit 3b3e6f1

Browse files
committed
make the example more clear. ty: @lolriley
1 parent c56d399 commit 3b3e6f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Examples/OnlineSession/OnlineSession.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ int main(int argc, char* args[])
214214
gekko_net_adapter_set(sess, gekko_default_adapter(localport));
215215

216216
// this is order dependant so we have to keep that in mind.
217-
if (localplayer == 1) {
217+
if (localplayer == 0) {
218218
// add local player
219219
localplayer = gekko_add_actor(sess, LocalPlayer, nullptr);
220220
// add remote player

0 commit comments

Comments
 (0)