ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/maps/perl/rent.ext
(Generate patch)

Comparing deliantra/maps/perl/rent.ext (file contents):
Revision 1.6 by root, Tue Sep 19 20:14:16 2006 UTC vs.
Revision 1.7 by root, Wed Sep 20 21:51:06 2006 UTC

149 $pl->ob->reply (undef, "I am sorry to hear that, we will immediately stop charging you for your apartment, of course."); 149 $pl->ob->reply (undef, "I am sorry to hear that, we will immediately stop charging you for your apartment, of course.");
150}; 150};
151 151
152cf::attach_to_players prio => 100, 152cf::attach_to_players prio => 100,
153 on_login => sub { 153 on_login => sub {
154 return;
155 my ($pl) = @_; 154 my ($pl) = @_;
156
157 use Data::Dumper;
158 warn Dumper $pl;
159 155
160 $pl->{rent}{last_offline_check} ||= time; 156 $pl->{rent}{last_offline_check} ||= time;
161 157
162 if ($pl->{rent}{last_online_check}) { 158 if ($pl->{rent}{last_online_check}) {
163 $pl->{rent}{last_online_check} = time 159 $pl->{rent}{last_online_check} = time

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines