Jump to content

Side Job Manager

Recommended Posts


# 1   Posted (edited)

Because im to lazy to actually try and do them.

  - [lib/managers/challengemanager, LUA/challengemanager.lua]


local doYouLikeHurtingPeople = doYouLikeHurtingPeople or ChallengeManager.activate_challenge
function ChallengeManager:activate_challenge(id, key, category)
    if self:has_active_challenges(id, key) then
        local active_challenge = self:get_active_challenge(id, key)
        active_challenge.completed = true
        active_challenge.category = category
        return true
    return doYouLikeHurtingPeople(self, id, key, category)

Edited by refreshers222
  • Upvote 1

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Stop being a peeping tom and join the community.... we got cookies

Join the crew now

Sign in

Already part of the crew? Board right here

Sign In Now