• R/O
  • SSH

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisionbfaef692ca3f0da24efa084897ff3a82d053cb0a (tree)
Zeit2019-01-22 05:24:07
Autorsebastian_bugiu <sebastian_ <bugiu@head...>
Commitersebastian_bugiu <sebastian_

Log Message

Adding lobby support.

Ändern Zusammenfassung

Diff

diff -r 191c26cf7525 -r bfaef692ca3f src/headwayEnt/headwayEnt/Blackhole_Darksun_WebServer/Main.java
--- a/src/headwayEnt/headwayEnt/Blackhole_Darksun_WebServer/Main.java Thu Jan 17 22:19:37 2019 +0200
+++ b/src/headwayEnt/headwayEnt/Blackhole_Darksun_WebServer/Main.java Mon Jan 21 22:24:07 2019 +0200
@@ -995,7 +995,7 @@
995995
996996 Session createdSession = new Session();
997997 createdSession.setSessionName(session.getSessionName());
998- createdSession.setMapId(session.getMapId());
998+ createdSession.setMapId(selectedMapId);
999999 createdSession.setMaxPlayerNum(session.getMaxPlayerNum());
10001000 createdSession.setGameType(session.getGameType());
10011001 createdSession.setStartTime(new Date());
@@ -1028,6 +1028,7 @@
10281028 serverSession.setServerId(server.getId());
10291029 serverSession.setSessionId(sessionWithId.getId());
10301030 server.setSessionId(sessionWithId.getId());
1031+ server.setMapId(selectedMapId);
10311032 em.persist(serverSession);
10321033
10331034 user.setInSession(1);