Skip to content

Commit

Permalink
fix defaults for findlasttextex
Browse files Browse the repository at this point in the history
  • Loading branch information
amylizzle authored Sep 15, 2023
1 parent fab68bd commit dc074ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OpenDreamRuntime/Procs/Native/DreamProcNativeRoot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -725,8 +725,8 @@ public static DreamValue NativeProc_findlasttext(NativeProc.Bundle bundle, Dream
[DreamProc("findlasttextEx")]
[DreamProcParameter("Haystack", Type = DreamValueTypeFlag.String)]
[DreamProcParameter("Needle", Type = DreamValueTypeFlag.String)]
[DreamProcParameter("Start", Type = DreamValueTypeFlag.Float, DefaultValue = 1)]
[DreamProcParameter("End", Type = DreamValueTypeFlag.Float, DefaultValue = 0)]
[DreamProcParameter("Start", Type = DreamValueTypeFlag.Float, DefaultValue = 0)]
[DreamProcParameter("End", Type = DreamValueTypeFlag.Float, DefaultValue = 1)]
public static DreamValue NativeProc_findlasttextEx(NativeProc.Bundle bundle, DreamObject? src, DreamObject? usr) {
// TODO This is for handling nulls, check if it works right for other bad types
int failCount = 0;
Expand Down

0 comments on commit dc074ac

Please sign in to comment.