Skip to content

Possible minor bug found, with initializing Actors #59

@deckarep

Description

@deckarep

if ("min_use_dist" !in actor) min_use_dist <- MIN_USE_DIST

Hello, I don't think this was intended...but it looks like two global variables are created on these two lines called: min_use_dist and min_talk_dist.

Maybe the code should have been...

if ("min_use_dist" !in actor) actor.min_use_dist <- MIN_USE_DIST
if ("min_talk_dist" !in actor) actor.min_talk_dist <- MIN_TALK_DIST

I think they should be tacked onto the actor object and not global.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions