Skip to content

Make laser return KOSNameTag.nameTag if set rather than the Part's internal name #25

@ingie

Description

@ingie

I was surprised it didn't already do this :)

I've actually changed my local copy already to do this, but I thought this project had retired pretty much, but since I see you're still noting things agains this, I'll do a proper fork and PR if you'd like this added in as a feature?

I've basically done a
if (part.Modules.Contains("KOSNameTag")) {...etc
in LaserDist.castUpdate, if a part has been hit.

Naturally, I only assign this to the hit if it has been set and is not empty otherwise I'm using the usual part internal name.

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