mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 04:21:41 +09:00
Fixed the part that removes the ghost train staton key
This commit is contained in:
@@ -40,7 +40,7 @@ local function station_name_changer(event)
|
|||||||
elseif name == "train-stop" then --only do the event if its a train stop
|
elseif name == "train-stop" then --only do the event if its a train stop
|
||||||
local backername = entity.backer_name
|
local backername = entity.backer_name
|
||||||
if backername:sub(-custom_string_len) == custom_string then
|
if backername:sub(-custom_string_len) == custom_string then
|
||||||
entity.backer_name = backername:sub(1, -custom_string_len)
|
entity.backer_name = backername:sub(1, -custom_string_len-1)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user