Skip to content

Commit

Permalink
Merge pull request #20 from skeyuui/toll-fix
Browse files Browse the repository at this point in the history
FIX: Toll now points at the ferryman even after dropping it
  • Loading branch information
russ-money authored Aug 18, 2024
2 parents 38b5fea + feaf490 commit c6e8c9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/modules/underworld/underworld.dm
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ GLOBAL_VAR_INIT(underworld_coins, 0)
desc = "This is more than just a coin."
icon = 'icons/roguetown/underworld/enigma_husks.dmi'
icon_state = "soultoken_floor"
var/angle = 0 // To keep track of the current angle
var/angle = 0
var/should_track = TRUE

/obj/item/underworld/coin/Initialize()
Expand Down Expand Up @@ -125,6 +125,7 @@ GLOBAL_VAR_INIT(underworld_coins, 0)
if(should_track)
GLOB.underworld_coins += 1
icon_state = "soultoken_floor"
angle = 0 // Resets the angle as the sprite always starts pointing up.
STOP_PROCESSING(SSobj, src)

/obj/item/underworld/coin/notracking
Expand Down

0 comments on commit c6e8c9d

Please sign in to comment.