docs: Fix for function name in usage example of onPlayerDisconnect event

This commit is contained in:
AURUMVORXX
2024-11-06 11:01:04 +03:00
parent 52922205f3
commit cb6a6a2dfe

View File

@@ -13,6 +13,6 @@ Original: [onPlayerDisconnect](https://gothicmultiplayerteam.gitlab.io/docs/0.3.
import g2o
@g2o.event('onPlayerDisconnect')
def onChangeDC(**kwargs):
def onDC(**kwargs):
print(f'Player {kwargs['playerid']} has left from the server')
```