Skip to content

Commit

Permalink
skull emoji
Browse files Browse the repository at this point in the history
  • Loading branch information
RustingWithYou committed Apr 10, 2024
1 parent eb55ed4 commit 69cf38f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/background/origins/_origins.dm
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
if(!istype(OI))
crash_with("Invalid culture supplied: [OI]!")
culture = OI
if(culture != old_culture)
if(old_culture && culture != old_culture)
old_culture.on_remove(src)
OI.on_apply(src)

Expand All @@ -39,7 +39,7 @@
if(!istype(OI))
crash_with("Invalid origin supplied: [OI]!")
origin = OI
if(origin != old_origin)
if(old_origin && origin != old_origin)
old_origin.on_remove(src)
OI.on_apply(src)

0 comments on commit 69cf38f

Please sign in to comment.