Skip to content

Commit

Permalink
Rename clearGraphic to clearGfx()
Browse files Browse the repository at this point in the history
  • Loading branch information
GregHib committed Jan 23, 2025
1 parent a2118d1 commit 8c906e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ interface Character : Entity, Variable, EventDispatcher, Comparable<Character> {
}
}

fun clearGraphic() {
fun clearGfx() {
visuals.primaryGraphic.reset()
flagPrimaryGraphic()
visuals.secondaryGraphic.reset()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ adminCommand("emote (emote-id)", "perform render emote by int or string id (-1 t

adminCommand("gfx (gfx-id)", "perform graphic effect by int or string id (-1 to clear)") {
when (content) {
"-1", "" -> player.clearGraphic()
"-1", "" -> player.clearGfx()
else -> player.gfx(content)// 93
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ timerTick("dressing_room") { player ->
}

timerStop("dressing_room") { player ->
player.clearGraphic()
player.clearGfx()
player["delay"] = 1
player.closeMenu()
player.gfx("dressing_room_finish")
Expand Down

0 comments on commit 8c906e9

Please sign in to comment.