Skip to content

Commit

Permalink
Automatically added file extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerc committed Apr 13, 2009
1 parent 05401f2 commit 736ec7a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion BUGS
@@ -1,7 +1,6 @@
== Main Game (block.rb)

== Level Editor (level.rb)
(medium) * you have to type file extensions (defualt to .lvl and .bmp)

== Level Properties Editor (properties.rb)
(high) * Crashes if you enter in a level that doesn't exisit
Expand Down
2 changes: 1 addition & 1 deletion level.rb
Expand Up @@ -63,7 +63,7 @@ def update
if @cur_edit != nil
if @cur_edit == :load_sprite
begin
@sprites[@sprites.length] = Rubygame::Surface.load @buf
@sprites[@sprites.length] = Rubygame::Surface.load "#{@buf}.bmp"
@sprite_files += [@buf]
rescue
puts "Error: Couldn't load sprite"
Expand Down

0 comments on commit 736ec7a

Please sign in to comment.