From 02acad209ba00cce0aabb6e40cc8d8f9702e006e Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 14 May 2020 23:04:40 +0200 Subject: [PATCH] Fix a waypoint-related crash --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 5f1116f..11110b0 100644 --- a/init.lua +++ b/init.lua @@ -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