Replace ResourcePath with ResPath (#15308)
This commit is contained in:
@@ -13,7 +13,7 @@ namespace Content.Client.Ghost
|
||||
|
||||
public InstantAction ToggleLightingAction = new()
|
||||
{
|
||||
Icon = new SpriteSpecifier.Texture(new ResourcePath("Interface/VerbIcons/light.svg.192dpi.png")),
|
||||
Icon = new SpriteSpecifier.Texture(new ("Interface/VerbIcons/light.svg.192dpi.png")),
|
||||
DisplayName = "ghost-gui-toggle-lighting-manager-name",
|
||||
Description = "ghost-gui-toggle-lighting-manager-desc",
|
||||
UserPopup = "ghost-gui-toggle-lighting-manager-popup",
|
||||
@@ -24,7 +24,7 @@ namespace Content.Client.Ghost
|
||||
|
||||
public InstantAction ToggleFoVAction = new()
|
||||
{
|
||||
Icon = new SpriteSpecifier.Texture(new ResourcePath("Interface/VerbIcons/vv.svg.192dpi.png")),
|
||||
Icon = new SpriteSpecifier.Texture(new ("Interface/VerbIcons/vv.svg.192dpi.png")),
|
||||
DisplayName = "ghost-gui-toggle-fov-name",
|
||||
Description = "ghost-gui-toggle-fov-desc",
|
||||
UserPopup = "ghost-gui-toggle-fov-popup",
|
||||
@@ -35,7 +35,7 @@ namespace Content.Client.Ghost
|
||||
|
||||
public InstantAction ToggleGhostsAction = new()
|
||||
{
|
||||
Icon = new SpriteSpecifier.Rsi(new ResourcePath("Mobs/Ghosts/ghost_human.rsi"), "icon"),
|
||||
Icon = new SpriteSpecifier.Rsi(new ("Mobs/Ghosts/ghost_human.rsi"), "icon"),
|
||||
DisplayName = "ghost-gui-toggle-ghost-visibility-name",
|
||||
Description = "ghost-gui-toggle-ghost-visibility-desc",
|
||||
UserPopup = "ghost-gui-toggle-ghost-visibility-popup",
|
||||
|
||||
Reference in New Issue
Block a user