Fix a waypoint-related crash

This commit is contained in:
Wuzzy 2020-05-14 23:04:40 +02:00
parent fee142eab2
commit 02acad209b
1 changed files with 1 additions and 1 deletions

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