diff --git a/Irpg/Classes/Farmer.pm b/Irpg/Classes/Farmer.pm index db74568f9806863c3d3aca3c12e2bade15ec2d09..b936cb372658e35d9d81755737bfaca5e7060d5e 100644 --- a/Irpg/Classes/Farmer.pm +++ b/Irpg/Classes/Farmer.pm @@ -82,7 +82,6 @@ sub steal_def { sub real_gain { # to apply on TTL modificators my ($self, $time) = @_; - return unless ($time =~ m/^-?\d+$/); return unless ($time =~ m/^-?\d+(?:\.\d+$)?/); $time = $time >= 0 ? $time*(1-($self->cha()-1)/50): # add less time