]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/gameserv.cpp
Fixed some bugs
[irc/gameservirc.git] / gameserv / gameserv.cpp
index 485937c8504b9ea383c6ab19e2808bae55b9b198..ea8d6fff213fed79b840da3d3c6ed768ee2e1047 100644 (file)
@@ -1050,6 +1050,8 @@ void do_fight(char *u)
        clearYourTurn(battle->stats);
 
        // Initiate Battle sequence!
+       battle->stats->player_fights -= 1;
+
         notice(s_GameServ, u, "You challenge %s to an online duel!", battle->stats->name);
         notice(s_GameServ, battle->getNick(), "%s has challenged you to an online duel!", ni->stats->name);
         notice(s_GameServ, battle->getNick(), "%s gets to go first "\