Unhardcode support power blocked cursor.

This commit is contained in:
Matthias Mailänder
2024-04-14 13:27:46 +02:00
committed by Gustas
parent fc4ebf332d
commit 69d9bbb400
11 changed files with 53 additions and 14 deletions

View File

@@ -116,7 +116,7 @@ namespace OpenRA.Mods.Common.Traits
string IOrderGenerator.GetCursor(World world, CPos cell, int2 worldPixel, MouseInput mi)
{
return world.Map.Contains(cell) ? cursor : "generic-blocked";
return world.Map.Contains(cell) ? info.Cursor : info.BlockedCursor;
}
bool IOrderGenerator.HandleKeyPress(KeyInput e) { return false; }