diff --git a/source/src/clientgame.cpp b/source/src/clientgame.cpp index ff4a8ea7..5773418e 100644 --- a/source/src/clientgame.cpp +++ b/source/src/clientgame.cpp @@ -874,7 +874,7 @@ void startmap(const char *name, bool reset) // called just after a map load persistidents = true; firstrun = false; } - // execute mapstart event + // execute mapstart event once const char *mapstartonce = getalias("mapstartonce"); if(mapstartonce && mapstartonce[0]) { @@ -882,6 +882,12 @@ void startmap(const char *name, bool reset) // called just after a map load // BTW: in v1.0.4 sleep 1 was required to make it work on initial mapload [flowtron:2010jun25] alias("mapstartonce", ""); } + // execute mapstart event + const char *mapstartalways = getalias("mapstartalways"); + if(mapstartalways && mapstartalways[0]) + { + addsleep(0, mapstartalways); + } } void suicide()