Skip to content

Commit

Permalink
b
Browse files Browse the repository at this point in the history
  • Loading branch information
heyunpeng committed Aug 24, 2015
1 parent 294719c commit 89c7557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,11 @@ def checkGrid (object)
grid = Grid.new
grid.gameid = curtime.strftime("%Y%m%d")+(begin_count+objindex+1).to_s.rjust(2, '0')

prizetotal = 0
begin
localcoin = (totalcoin).abs * 0.95
Rails.logger.debug localcoin
localgrid = randomGrid
prizetotal = 0
lssame, lsorder, lsdouble, lscolor = checkGrid(localgrid)

Tracelog.where("gameid = ? and maintype = 1", grid.gameid).each do |log|
Expand Down

0 comments on commit 89c7557

Please sign in to comment.