Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit c6a917a

Browse files
committed
Release 1.4.1
1 parent 86ec828 commit c6a917a

3 files changed

Lines changed: 13 additions & 19 deletions

File tree

config.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
config = {
22
name = 'Raphael\'s Library',
3-
version = '1.4.0',
4-
windbot = '2.4.9',
3+
version = '1.4.1',
4+
windbot = '2.5.4',
55

66
files = {
77
layout = 'Layout.tlua',

dist/Raphael.lua

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,13 @@
1-
-- Raphael's Library v1.4.0
2-
-- Last Updated: 19/10/2014 - 22:26 UTC
3-
-- Released for WindBot v2.4.9
1+
-- Raphael's Library v1.4.1
2+
-- Last Updated: 21/11/2014 - 16:25 UTC
3+
-- Released for WindBot v2.5.4
44

5-
RAPHAEL_LIB = '1.4.0'
5+
RAPHAEL_LIB = '1.4.1'
66

77
--[[
8-
* Changelog v1.4.0
8+
* Changelog v1.4.1
99
*
10-
* - Added table.flatten.
11-
* - Added getvalue and curchannel.
12-
* - Added Expander Class.
13-
* - Added composition mode constants.
14-
* - Added REGEX_ITEMS_SOLD and REGEX_ITEMS_BOUGHT.
15-
* - Updated cetoffset and cettime; this should fix problems with sstime.
16-
* - Updated npctalk to better emulate time taken to write message when fast hotkeys is enabled.
17-
* - Updated table.each and table.map to allow for recursive behavior.
18-
* - Updated table.merge to allow for recursive behavior and remove forceKey parameter.
19-
* - Updated Area Class to include extra functionality.
20-
* - Fixed some other minor bugs.
10+
* - Fixed a small bug with the Point constructor.
2111
*
2212
--]]
2313

@@ -932,7 +922,7 @@ end
932922
* original waitping() solution, passing `normalWait` as true.
933923
*
934924
* @since 0.1.0
935-
* @updated 1.3.1
925+
* @updated 1.4.0
936926
*
937927
* @param {string...} messages - Messages to be said
938928
* @param {boolean} [normalWait] - If waitping should be used as
@@ -2029,6 +2019,9 @@ function Point:new(x, y)
20292019
else
20302020
x, y = x[1], x[2]
20312021
end
2022+
elseif type(x) == 'string' or type(x) == 'string' then
2023+
x = tonumber(x)
2024+
y = tonumber(y)
20322025
end
20332026

20342027
if type(x) ~= 'number' or type(y) ~= 'number' then

log/changelog-1.4.1.log

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* - Fixed a small bug with the Point constructor.

0 commit comments

Comments
 (0)