Title: Draw points wrong
Last modified: September 1, 2016

---

# Draw points wrong

 *  Resolved [tarmost](https://wordpress.org/support/users/tarmost/)
 * (@tarmost)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/draw-points-wrong/)
 * Hi,
    Scoring option: Full score 6p Toto score 3p Goal difference bonus 1p I also
   use extension “Change the score calculation”. So draw gives also goal diff points.
 * After England – Russia draw
    toto score with goal diff bonus is right – 4p but
   full score is wrong – 7p, +1 extra point.
 * How to fix, that full score would be 6p instead of 7p. Probably something to 
   do with extension.
    I need help asap.
 * [https://wordpress.org/plugins/football-pool/](https://wordpress.org/plugins/football-pool/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [tarmost](https://wordpress.org/support/users/tarmost/)
 * (@tarmost)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/draw-points-wrong/#post-7468282)
 * and of course the statistic chart is wrong, doesn’t show full score in chart…
   
   don’t care so much about statistic though…
 *  Plugin Author [AntoineH](https://wordpress.org/support/users/antoineh/)
 * (@antoineh)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/draw-points-wrong/#post-7468348)
 * But this is exactly what the extension does. It gives goal difference also on
   draws. So on a full score you also get the difference rewarded. And on draws 
   no matter what you predict (0-0, 1-1, 4-4), goal diff is always 0 and thus always
   considered as correct.
    If you want to disable this, you’ll have to add an extra
   check in the logic to check if a full score was already rewarded.
 * The charts are ‘wrong’ now because a goal diff is rewarded and these are counted
   as a separate score option.
 *  Thread Starter [tarmost](https://wordpress.org/support/users/tarmost/)
 * (@tarmost)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/draw-points-wrong/#post-7468351)
 * Understood, but otherwise goal diff points won’t be added full score when one
   wins.
    I don’t know coding, so if you can help with extension, so that goal diff
   won’t be added for full score. Otherwise draw full score gets extra point.
 *  Plugin Author [AntoineH](https://wordpress.org/support/users/antoineh/)
 * (@antoineh)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/draw-points-wrong/#post-7468354)
 * I took a quick look at the extension. I think it is as easy as changing line 
   30 to (not tested though):
 *     ```
       if ( $score_options['score'] === -1 && $score['full'] != 1 ) {
       ```
   
 *  Thread Starter [tarmost](https://wordpress.org/support/users/tarmost/)
 * (@tarmost)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/draw-points-wrong/#post-7468396)
 * That worked.
    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Draw points wrong’ is closed to new replies.

 * ![](https://ps.w.org/football-pool/assets/icon-256x256.png?rev=983880)
 * [Football Pool](https://wordpress.org/plugins/football-pool/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/football-pool/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/football-pool/)
 * [Active Topics](https://wordpress.org/support/plugin/football-pool/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/football-pool/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/football-pool/reviews/)

## Tags

 * [draw](https://wordpress.org/support/topic-tag/draw/)
 * [scoring](https://wordpress.org/support/topic-tag/scoring/)

 * 5 replies
 * 2 participants
 * Last reply from: [tarmost](https://wordpress.org/support/users/tarmost/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/draw-points-wrong/#post-7468396)
 * Status: resolved