diff --git a/source/src/clientgame.cpp b/source/src/clientgame.cpp index 5d72b5b4..85f5ee35 100644 --- a/source/src/clientgame.cpp +++ b/source/src/clientgame.cpp @@ -29,6 +29,9 @@ extern int framesinmap; char *getclientmap() { return clientmap; } +void mapname() { result(getclientmap()); } +COMMAND(mapname, ARG_NONE); + extern bool c2sinit, senditemstoserver; void setskin(playerent *pl, uint skin)