Results 1 to 3 of 3

Thread: [patch] Track fancy chocolate scuplture phenomenon and warn if you're going to waste

  1. #1
    Developer
    Join Date
    Jan 2007
    Posts
    93

    Default [patch] Track fancy chocolate scuplture phenomenon and warn if you're going to waste

    Another patch from me!

    The wiki page explains it all really. It's probably not worth tracking over 3 but on the other hand why not.
    Attached Files

  2. #2

    Default

    19078.

  3. #3
    Developer
    Join Date
    Jan 2007
    Posts
    93

    Default

    Thanks for merging. Sadly I noticed a tiny typo

    Code:
    				int sculptures = Preferences.getInteger( "_chocolateSculpturesUsed" );
    				Preferences.setInteger( "_chocolateSculpturesUsed", Math.max(sculptures, 4) );
    should be


    Code:
    				int sculptures = Preferences.getInteger( "_chocolateSculpturesUsed" );
    				Preferences.setInteger( "_chocolateSculpturesUsed", Math.max(sculptures + 1, 4) );
    the feature should work fine without it of course but with this typo it might as well be

    Code:
    				Preferences.setInteger( "_chocolateSculpturesUsed", 4 );

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •