Can confirm this bug.
Quickfix: Add the following diff to control.lua to allow placement of the new rail types:
--- a/control.lua
+++ b/control.lua
@@ -98,7 +98,10 @@ function Dangerous_Ores(event)
if last_user.force.technologies['safe-railway'].researched then
if event.entity.type == "straight-rail"
or event.entity.type == "curved-rail"
- or event.entity.type == "train-stop"
+ or event.entity.type == "curved-rail-a"
+ or event.entity.type == "curved-rail-b"
+ or event.entity.type == "half-diagonal-rail"
+ or event.entity.type == "rail-ramp"
+ or event.entity.type == "rail-support"
+ or event.entity.type == "train-stop"
or event.entity.type == "rail-signal"
or event.entity.type == "rail-chain-signal"
or event.entity.type == "locomotive"
@@ -113,7 +116,10 @@ function Dangerous_Ores(event)
if event.entity.type == "entity-ghost" then
if event.entity.ghost_type == "straight-rail"
or event.entity.ghost_type == "curved-rail"
- or event.entity.ghost_type == "train-stop"
+ or event.entity.ghost_type == "curved-rail-a"
+ or event.entity.ghost_type == "curved-rail-b"
+ or event.entity.ghost_type == "half-diagonal-rail"
+ or event.entity.ghost_type == "rail-ramp"
+ or event.entity.ghost_type == "rail-support"
+ or event.entity.ghost_type == "train-stop"
or event.entity.ghost_type == "rail-signal"
or event.entity.ghost_type == "rail-chain-signal"
or event.entity.ghost_type == "locomotive"
Extract the control.lua file from the mod, save this diff to a file like "rail-fix.diff" and apply it with "git apply rail-fix.diff". Finally replace the control.lua in the mod's .zip-file with the fixed one.
Alternatively add the three respective lines manually to control.lua if you do not have git available or if this comment gets corrupted by the formatting.
Edit: Added "rail-ramp" and "rail-support" to the list.