add: add current map and current time to graph editing overlay

fix: send client messages as unreliable to prevent reliable channel overflow (should solve problems when editing large number of waypoints on single location)
This commit is contained in:
dmitry 2022-01-16 01:14:11 +03:00
commit d402f38295
No known key found for this signature in database
GPG key ID: 8297CE728B7A7E37
5 changed files with 19 additions and 3 deletions

View file

@ -2399,9 +2399,10 @@ void BotGraph::frame () {
// show the information about that point
graphMessage.assignf ("\n\n\n\n Graph Information:\n\n"
" Map: %s @ %s\n"
" Node %d of %d, Radius: %.1f, Light: %.1f\n"
" Flags: %s\n"
" Origin: %s\n\n", nearestIndex, m_paths.length () - 1, path.radius, path.light, getFlagsAsStr (nearestIndex), pathOriginStr (nearestIndex));
" Origin: %s\n\n", game.getMapName (), util.getCurrentDateTime (), nearestIndex, m_paths.length () - 1, path.radius, path.light, getFlagsAsStr (nearestIndex), pathOriginStr (nearestIndex));
// if node is not changed display experience also
if (!m_hasChanged) {