It Just Works (#26371)

This commit is contained in:
Exxion
2020-05-04 13:59:12 -04:00
committed by GitHub
parent 17342d9509
commit b3cbc1cbbc
4 changed files with 82 additions and 0 deletions

View File

@@ -118,3 +118,6 @@
if(client)
client.CAN_MOVE_DIAGONALLY = 0
add_client(client)
contained_clients.Swap(1, contained_clients.len) //Put our own client at the beginning so we know which one to remove in Logout() (as client is already nulled by then)

View File

@@ -48,4 +48,7 @@
INVOKE_EVENT(on_logout, list())
if(contained_clients)
remove_client(contained_clients[1])
..()