Skip to content

Fixing SpawningEventArg#245

Merged
louis1706 merged 2 commits intoExMod-Team:scpsl14from
SrLicht:fix-spawningevent
Nov 27, 2024
Merged

Fixing SpawningEventArg#245
louis1706 merged 2 commits intoExMod-Team:scpsl14from
SrLicht:fix-spawningevent

Conversation

@SrLicht
Copy link
Copy Markdown

@SrLicht SrLicht commented Nov 27, 2024

Description

Describe the changes
Due to logic changes OldRole was removed, ev.Player.Role can be used instead and NewRole was added.

What is the current behavior? (You can also link to an open issue here)

What is the new behavior? (if this is a feature change)

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:

Testings

image

image

image


Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentations

Submission checklist

  • I have checked the project can be compiled
  • I have tested my changes and it worked as expected

Patches (if there are any changes related to Harmony patches)

  • I have checked no IL patching errors in the console

Other

  • Still requires more testing

* Remove OldRole due the changes in 14.0
@louis1706 louis1706 merged commit fbb6302 into ExMod-Team:scpsl14 Nov 27, 2024
@SrLicht
Copy link
Copy Markdown
Author

SrLicht commented Nov 27, 2024

That was fast

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants