News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

How to disable the debug tab

Started by Yona-TYT, November 18, 2022, 05:40:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT

I wonder if it is possible to disable or at least not show so much data (I don't think they are very useful for the end user.)
Captura desde 2022-11-18 13-35-17.png

Dwachs

You can implement your own get_debug_text() method to show some custom data. It is currently not possible to disable the tab.
Parsley, sage, rosemary, and maggikraut.

Dwachs

with r10812 you can disable the tab by returning null in get_debug_text:
function get_debug_text(pl)
{
return null
}
Parsley, sage, rosemary, and maggikraut.