DICE PACKS BUNDLE
  1. #1

    BUG REPORT - unregisterResultHandler() in manager_actions.lua

    Hey Guys

    I think we've got a bug in the manager_actions.lua of the CoreRPG Ruleset (v3.0.7).

    Original is:
    Code:
    function unregisterResultHandler(sRollType)
    	if aResultHandlers then
    		aResultHandlers[sActionType] = nil;
    	end
    end
    Shouldn't that read:
    Code:
    function unregisterResultHandler(sActionType)
    	if aResultHandlers then
    		aResultHandlers[sActionType] = nil;
    	end
    end
    Ie the function parameter is not the same as the array index in the original - or have I simply spent waaaayyyy too long looking at this stuff

    Cheers
    Last edited by dulux-oz; August 28th, 2014 at 09:25.
    Dulux-Oz

    √(-1) 2^3 Σ Π
    ...And it was Delicious!


    Alpha-Geek
    ICT Professional
    GMing Since 1982
    NSW, Australia, UTC +10
    LinkedIn Profile: www.linkedin.com/in/mjblack

    Watch our games on Twitch: www.twitch.tv/dulux_oz

    Support Me on Patreon: www.patreon.com/duluxoz

    Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz

  2. #2
    That's because there hasn't been a need to unregister action handlers. Just added for some odd sense of completeness, but no real need.

    Cheers,
    JPG

  3. #3
    Quote Originally Posted by Moon Wizard View Post
    That's because there hasn't been a need to unregister action handlers. Just added for some odd sense of completeness, but no real need.

    Cheers,
    JPG
    Fair enough - but there's a need now :-)

    So, will this be fixed in 3.0.8 or should we just ignore it and code it ourselves?

    Cheers
    Dulux-Oz

    √(-1) 2^3 Σ Π
    ...And it was Delicious!


    Alpha-Geek
    ICT Professional
    GMing Since 1982
    NSW, Australia, UTC +10
    LinkedIn Profile: www.linkedin.com/in/mjblack

    Watch our games on Twitch: www.twitch.tv/dulux_oz

    Support Me on Patreon: www.patreon.com/duluxoz

    Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz

  4. #4
    Check the latest beta.
    JPG

  5. #5
    Quote Originally Posted by Moon Wizard View Post
    Check the latest beta.
    JPG
    Thanks JPG
    Dulux-Oz

    √(-1) 2^3 Σ Π
    ...And it was Delicious!


    Alpha-Geek
    ICT Professional
    GMing Since 1982
    NSW, Australia, UTC +10
    LinkedIn Profile: www.linkedin.com/in/mjblack

    Watch our games on Twitch: www.twitch.tv/dulux_oz

    Support Me on Patreon: www.patreon.com/duluxoz

    Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
STAR TREK 2d20

Log in

Log in