Search results

Jump to navigation Jump to search
Results 1 – 40 of 40
Advanced search

Search in namespaces:

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  • * Fix: Explosion in null map error in SmokepopBelt for unspawned pawns * Fix: Designators not appearing with old custom scenarios where rules is null.
    1 KB (161 words) - 04:16, 7 November 2023
  • Or if you like your code shorter, you can use null conditionals and null coalescing: //will return value of mod extension if not null, otherwise assumed true.
    4 KB (534 words) - 12:52, 4 February 2019
  • First off: Know that null is a perfectly valid value for a Map: * A pawn on a Caravan is in a null map.
    7 KB (1,044 words) - 10:27, 28 August 2021
  • ** This means using a DefOf before it is properly initialised gets you ''null'' - which the DefOf class is supposed to prevent. ...rld had a chance to fill the field with a proper reference, it will return null. You don't want that. This constructor warns against that.
    8 KB (1,092 words) - 13:50, 16 April 2022
  • * In C#, keep in mind that things can and will be null. Even more so when dealing with other mods: sometimes mods have to be creat * Null references
    6 KB (918 words) - 11:13, 5 August 2023
  • * Fix: Error on corpse destruction when completedObligations is null.
    1 KB (175 words) - 20:40, 13 March 2024
  • * Add null check to StyleForThingDef.
    1 KB (192 words) - 12:51, 20 November 2022
  • ...caused colonist lending quests to remain incomplete if one of the pawns is null (possibly by dying and save/load).
    2 KB (259 words) - 04:16, 7 November 2023
  • * Bug mitigation for null map in QuestPart_SubquestGenerator_RelicHunt. ...x: Failing to generate a new unique name for a precept can leave it with a null name.
    4 KB (569 words) - 04:14, 7 November 2023
  • * Added some mech gestation null checks for safety.
    2 KB (248 words) - 12:51, 2 November 2022
  • ...llReferenceException), meaning some code is trying to access a member of a NULL instance, this tutorial will elaborate on this exact scenario.
    3 KB (351 words) - 11:49, 4 September 2022
  • * Fixed Scenario editor breaking when ThingCount scenPart is null due to def not present
    2 KB (272 words) - 04:17, 7 November 2023
  • ...f reported errors in RimWorld are NullReferenceExceptions. These forgotten null-checks can be tricky to find, but once found they're often easy to solve. ...y items are in a list that wasn't created yet (= if it's not created, it's null).
    8 KB (1,213 words) - 14:30, 21 February 2019
  • ...return ...; /* example: "public bool IsApparel()" returns "this.apparel != null". This could be checked easily but Thing.IsApparel() is more readable somet ...you can check whether they're defined by checking if they're not equal to null */
    14 KB (2,026 words) - 17:05, 30 May 2020
  • * Removed null asker possibility from hospitality quests. * Added null check for QuestGenUtility method IsInList.
    5 KB (728 words) - 22:35, 5 June 2022
  • * Fix: Rare exception occurring when attempting to start a queued job with a null def.
    2 KB (365 words) - 21:48, 28 March 2023
  • if (Props != null && hitThing != null && hitThing is Pawn hitPawn) ...ullReferenceException</code>, check to make sure you're correctly handling null values.
    30 KB (4,289 words) - 14:43, 9 May 2023
  • * Fix: Null reference exception in Need_Indoors for pawns with null ideo.
    6 KB (921 words) - 04:14, 7 November 2023
  • * Fix: Missing "pawn != null" checks in ApparelScoreRaw.
    3 KB (443 words) - 04:16, 7 November 2023
  • * Added null check for Trait.ToString() per modder request. ...ion throwing another error when trying to get lord.LordJob.ToString() with null job.
    6 KB (967 words) - 15:13, 17 December 2022
  • ...ce. This can cause false positives if you previously only used def.race != null to check if a ThingDef was a race; you should also check !def.IsCorpse now ** <tutorTag> (default null) - Used to highlight research tabs during learning helper lessons.
    9 KB (1,212 words) - 23:51, 15 April 2024
  • && x.stuffProps == null //wood log && x.ingestible == null //beer
    30 KB (3,741 words) - 22:23, 15 February 2023
  • ...e your settings accessible if SettingsCategory returns a string that isn't null or empty.
    6 KB (702 words) - 17:38, 24 June 2020
  • if(specialStuffList == null)
    5 KB (705 words) - 11:50, 4 September 2022
  • * Fix: Trailing newline, null on abandon with no active maps for slave rebellion likely alert.
    3 KB (530 words) - 12:50, 2 November 2022
  • ...the type of ThingComp specified in the <nowiki><></nowiki> if present, and null otherwise. ...<MyExampleComp>() method. It will safely cast to ThingWithComps and return null upon failure. Upon success, it will return the value of ThingWithComps.GetC
    15 KB (2,049 words) - 03:50, 29 April 2024
  • * We now filter out null AutoSlaughterConfigs after loading a game. * Add a null check to prevent old bestowing ceremony quests that existed pre-fix from ca
    8 KB (1,266 words) - 12:50, 2 November 2022
  • * Improve ideo null checks for role change buttons. * Fix: Exceptions ticking pawns due to null room requirements.
    10 KB (1,552 words) - 04:14, 7 November 2023
  • * Fix: Null ref error in SelectApproximateBestTravelSupplies when sending caravan
    6 KB (914 words) - 04:13, 7 November 2023
  • * Fixed animal name displaying as null after rename
    6 KB (873 words) - 02:22, 3 November 2023
  • ...th any default stuff open the info card with the default stuff, instead of null stuff.
    7 KB (1,074 words) - 04:13, 7 November 2023
  • * Fixed: Selected pawn showing "null" north button when having no gizmo options
    8 KB (1,274 words) - 02:24, 3 November 2023
  • *Fix: Logging null leader error for factions which don't need a leader. *Fix: Resources with null stuffProps can be accepted as "Stony" resources in monuments.
    16 KB (2,521 words) - 12:49, 16 February 2023
  • * Fix: Exception drawing pawn inspect pane/bio tab/other UI with null extra mini faction.
    8 KB (1,318 words) - 04:17, 7 November 2023
  • * Check if food need is null in MeditationUtility.CanMeditate. * Fix: "Simulate not owning __" options default to true when Prefs.data is null.
    17 KB (2,692 words) - 02:44, 7 November 2023
  • * Fix: Dictionary null key for label pawnGroups. ...imWorld.Designator_Dropdown.GetDesignatorCost(Verse.Designator des) is not null-safe.
    20 KB (3,121 words) - 04:15, 7 November 2023
  • * Ensure CompHasSources does not start with a null list.
    12 KB (1,838 words) - 04:15, 7 November 2023
  • * Fix: Error getting null target for throne/bedroom requirements alert explantation. * Fix: DeleteSpawnedPawns() in Autotests_ColonyMaker missing null check.
    42 KB (6,443 words) - 05:19, 22 April 2024
  • * Fix: Potential null ref for pawns with no Rest need.
    22 KB (3,603 words) - 12:48, 2 November 2022
  • * Fix: The call to InnerThing.GetStatValue ignores the null check.
    27 KB (4,325 words) - 11:14, 27 March 2023