Skip to content
Snippets Groups Projects
Commit 7ada14e9 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Merge branch 'jnicpon/sbbs-develop'

parents a6d3476b ead2e3db
No related branches found
No related tags found
2 merge requests!463MRC mods by Codefenix (2024-10-20),!66Fixed KnK bugs with total score of the month calc and title.
...@@ -1498,12 +1498,12 @@ function update_userfile(player, computer, won) ...@@ -1498,12 +1498,12 @@ function update_userfile(player, computer, won)
} }
f.writeln("--------------------------------------------------------------------"); f.writeln("--------------------------------------------------------------------");
f.writeln(""); f.writeln("");
f.writeln("* Kannons and Katapults Total Score for the Month of January *"); f.writeln("* Kannons and Katapults Total Score for the Month of "+nowmonth+" *");
f.writeln(""); f.writeln("");
f.writeln("Rank Name Games Wins Losses Win % Score"); f.writeln("Rank Name Games Wins Losses Win % Score");
f.writeln("--------------------------------------------------------------------"); f.writeln("--------------------------------------------------------------------");
for(line=0; line<2; line++) { for(line=0; line<2; line++) {
if((computer_total <= player_total && line==0) || (computer_total > player_total && line==1)) { if((computer_total <= player_total && line==1) || (computer_total > player_total && line==0)) {
f.writeln(format("%3u %-22s %5u %4u %6u %3u %% %11s" f.writeln(format("%3u %-22s %5u %4u %6u %3u %% %11s"
,line+1 ,line+1
,'All Users' ,'All Users'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment