Unhardcode support power blocked cursor.
This commit is contained in:
committed by
Gustas
parent
fc4ebf332d
commit
69d9bbb400
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user