General > Developers Corner

Change to a defined map when server is empty

<< < (2/2)

MajorPain931:
Got it now. Had some strange behaviour with the disconnected hook at first.
The hook got called but getPlayers still returned the disconnecting player in the table. That's why I used "== 1".
But now this doesn't happen anymore, when it gets called, the table is empty. Don't know why it was different at the beginning.
Thanks for helping me, was working fine today and yesterday :)

Navigation

[0] Message Index

[*] Previous page

Go to full version