Skip to content

Commit

Permalink
Update modular_ss220/cinematics/code/_cinematics.dm
Browse files Browse the repository at this point in the history
Co-authored-by: Gaxeer <[email protected]>
  • Loading branch information
Legendaxe and Gaxeer committed Oct 18, 2023
1 parent 476d590 commit 229e65d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modular_ss220/cinematics/code/_cinematics.dm
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,7 @@
if(!(no_longer_watching in watching))
CRASH("cinematic remove_watcher was passed a client which wasn't watching.")

UnregisterSignal(no_longer_watching, COMSIG_PARENT_QDELETING)
UnregisterSignal(no_longer_watching, COMSIG_CINEMATIC_WATCHER_LEAVES)
UnregisterSignal(no_longer_watching, list(COMSIG_PARENT_QDELETING, COMSIG_CINEMATIC_WATCHER_LEAVES))

if(no_longer_watching.mob)
unlock_mob(no_longer_watching.mob)
Expand Down

0 comments on commit 229e65d

Please sign in to comment.