Skip to content

Commit ba03f28

Browse files
author
L'In20Cible
committed
Replaced OnLevelShutdown with OnLevelEnd into messages.dialog.
1 parent 464fd06 commit ba03f28

File tree

1 file changed

+3
-3
lines changed
  • addons/source-python/packages/source-python/messages

1 file changed

+3
-3
lines changed

Diff for: addons/source-python/packages/source-python/messages/dialog.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# KeyValues
1717
from keyvalues import KeyValues
1818
# Listeners
19-
from listeners import OnLevelShutdown
19+
from listeners import OnLevelEnd
2020
from listeners.tick import Delay
2121
# Messages
2222
from _messages import DialogType
@@ -315,7 +315,7 @@ def _set_keyvalues(self, keyvalues, player, **tokens):
315315
# ============================================================================
316316
# >> LISTENERS
317317
# ============================================================================
318-
@OnLevelShutdown
319-
def _level_shutdown():
318+
@OnLevelEnd
319+
def _level_end():
320320
"""Clear the player levels dictionary."""
321321
_player_levels.clear()

0 commit comments

Comments
 (0)