TorchAPI / Essentials

A Torch plugin that adds must-have utilities and administration tools to Space Engineers dedicated servers.
23 stars 32 forks source link

Cleanup module's NameMatches checks for DisplayName instead for CustomName #198

Closed SgtMook closed 2 years ago

SgtMook commented 2 years ago

In CleanupModule, the NameMatches function for the name argument checks for the grid's DisplayName, which is not changeable by players and not reflected in the grid's info screen. It would be more suitable for this to be changed to grid.CustomName, so the name players can see and edit is checked against instead.