1
0
mirror of git://repo.or.cz/minetest_schemedit.git synced 2024-11-13 11:10:16 +01:00

Fix a waypoint-related crash

This commit is contained in:
Wuzzy 2020-05-14 23:04:40 +02:00
parent fee142eab2
commit 02acad209b

View File

@ -788,7 +788,7 @@ end
function schemedit.display_node_prob(player, pos, prob, force_place)
local wpstring
if prob and force_place == true then
wpstring = string.format("%d [F]", prob)
wpstring = string.format("%s [F]", prob)
elseif prob and type(tonumber(prob)) == "number" then
wpstring = prob
elseif force_place == true then