shortend text message

This commit is contained in:
PreLeyZero 2022-04-10 15:36:56 +02:00
parent 816f36b979
commit 4a16968238
2 changed files with 2 additions and 2 deletions

View file

@ -604,7 +604,7 @@ end
--================================================================================= --=================================================================================
function make_beacon_text(entity) function make_beacon_text(entity)
entity.surface.create_entity({name="flying-text", position=entity.position, text="Channel: "..global.ki.beacon[entity.unit_number].channel, color={r=1, g=1, b=1}}) entity.surface.create_entity({name="flying-text", position=entity.position, text="CH: "..global.ki.beacon[entity.unit_number].channel, color={r=1, g=1, b=1}})
end end
function remove_request_ghost(entity) function remove_request_ghost(entity)

View file

@ -545,7 +545,7 @@ function gui.on_selected(e)
global.ki.beacon[id].channel = global.ki.selectchannel global.ki.beacon[id].channel = global.ki.selectchannel
table.insert(global.ki.channel[global.ki.selectchannel].beacons, id) table.insert(global.ki.channel[global.ki.selectchannel].beacons, id)
player.create_local_flying_text({text="Channel "..tostring(global.ki.selectchannel), position=v.position}) player.create_local_flying_text({text="CH "..tostring(global.ki.selectchannel), position=v.position})
end end
end end