Check Enemizer version

This commit is contained in:
Fabian Dill
2020-07-11 00:52:49 +02:00
parent f27d9e904f
commit d4f296835c
3 changed files with 40 additions and 2 deletions

View File

@@ -58,7 +58,7 @@ else: # unix
def launch_room(room: Room, config: dict):
# requires db_session!
if room.last_activity >= datetime.utcnow() - timedelta(minutes=room.timeout):
if room.last_activity >= datetime.utcnow() - timedelta(seconds=room.timeout):
multiworld = multiworlds.get(room.id, None)
if not multiworld:
multiworld = MultiworldInstance(room, config)

View File

@@ -17,7 +17,8 @@
</ul>
</nav>
<br>
<div class="container container-fluid">
<div class="container container-fluid d-flex">
<div class="jumbotron jumbotron-fluid">
<div class="container">
<div class="col-md-5 p-lg-2 mx-auto my-2">
@@ -40,9 +41,15 @@
<p class="lead">Currently you still require a locally installed client to play, that handles
connecting to the server and patching a vanilla game to the randomized one. Get started on the
<a href="https://github.com/Berserker66/MultiWorld-Utilities/wiki">Wiki</a>.</p>
</div>
</div>
</div>
<div>
<iframe src="https://discordapp.com/widget?id=731205301247803413&theme=light" width="300" height="500"
allowtransparency="true" frameborder="0"></iframe>
</div>
</div>