ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/kgsueme/kgsueme/game.pl
(Generate patch)

Comparing kgsueme/kgsueme/game.pl (file contents):
Revision 1.132 by elmex, Sat Jun 5 15:58:00 2004 UTC vs.
Revision 1.133 by root, Sun Jun 6 07:55:06 2004 UTC

785 my ($self, $player) = @_; 785 my ($self, $player) = @_;
786 786
787 sound::play 3, "resign"; 787 sound::play 3, "resign";
788 $self->{chat}->append_text ("\n<infoblock><header>Resign</header>" 788 $self->{chat}->append_text ("\n<infoblock><header>Resign</header>"
789 . "\n<user>" 789 . "\n<user>"
790 . (util::toxml $self->{user}[1 - $msg->{player}]->as_string) 790 . (util::toxml $self->{user}[$player]->as_string)
791 . "</user> resigned." 791 . "</user> resigned."
792 . "\n<user>" 792 . "\n<user>"
793 . (util::toxml $self->{user}[$msg->{player}]->as_string) 793 . (util::toxml $self->{user}[1 - $player]->as_string)
794 . "</user> wins the game." 794 . "</user> wins the game."
795 . "</infoblock>"); 795 . "</infoblock>");
796} 796}
797 797
798sub event_time_win { 798sub event_time_win {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines