Advertisement
gotlag

Hidden surname fix

Jul 29th, 2020
1,341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. function FixName(colonist)
  2.   local first = colonist.name[1]
  3.   local last = colonist.name[3]
  4.   colonist.name = first .. " " .. last
  5. end
  6.  
  7. for i = 1, #UICity.labels.Colonist do
  8.   FixName(UICity.labels.Colonist[i])
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement