Helfima / helmod

Factorio Mod
149 stars 64 forks source link

Use object_name instead of parsing help() string in logging #485

Closed Bilka2 closed 6 months ago

Bilka2 commented 7 months ago

There is object_name now, which should be easier than this: https://github.com/Helfima/helmod/blob/52140e4d5728827334f4f0a7fa397dd47e8075b7/core/logging.lua#L120

KiwiHawk commented 6 months ago

Thanks! That's much cleaner. Do you know what version this was added? Currently Helmod requires base >= 1.1.57.

Bilka2 commented 6 months ago

It looks like it was added in 0.18.0.