mirror of
https://github.com/solero/houdini.git
synced 2025-08-09 20:24:05 +00:00
Single-player game joining
This commit is contained in:
@@ -49,6 +49,12 @@ class Room(db.Model):
|
|||||||
await p.send_xt('jr', self.id, await self.get_string(p))
|
await p.send_xt('jr', self.id, await self.get_string(p))
|
||||||
await self.send_xt('ap', await p.string)
|
await self.send_xt('ap', await p.string)
|
||||||
|
|
||||||
|
if self.game:
|
||||||
|
await p.send_xt('jg', self.id)
|
||||||
|
else:
|
||||||
|
await p.send_xt('jr', self.id, await self.get_string())
|
||||||
|
await self.send_xt('ap', await p.string)
|
||||||
|
|
||||||
async def remove_penguin(self, p):
|
async def remove_penguin(self, p):
|
||||||
if p.client_type == ClientType.Vanilla:
|
if p.client_type == ClientType.Vanilla:
|
||||||
if not p.data.stealth_moderator:
|
if not p.data.stealth_moderator:
|
||||||
|
Reference in New Issue
Block a user